Creates a new group.

Method

POST /group/create

Parameters

This method takes no parameters.

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).
500 application/json The group could not be created due to an internal server error. See the Introduction for the error response format.

Example

Request

POST /group/create

Request Body:

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

Response

Status 204. No content.

目录: