Updates a given group by id.

Method

PUT /group/{id}

Parameters

Path Parameters

Name Type Description
id String The id of the group.

Request Body

A JSON object with the following properties:

Name Type Description
id String The id of the group.
name String The name of the group.
type String The type of the group.

Result

This method returns no content.

Response Codes

Code Media type Description
204 Request successful.
403 application/json Identity service is read-only (Cannot modify users / groups / memberships).
404 application/json If the group with the requested Id cannot be found.
500 application/json The group could not be updated due to an internal server error. See the Introduction for the error response format.

Example

Request

PUT /group/sales

Request Body:

{"id":"sales",
 "name":"Sales",
 "type":"Organizational Unit"}

Response

Status 204. No content.

目录: