Create group
Request to create new group:
POST /api/v2/groups.json
HTTP body should contain JSON formatted profile of group to create.
For example:
{
"group": {
"name": "Group 1",
"tenant_id": "e00a4822-f288-11e4-b559-e03f497dbdff",
...
}
}
Response contains HTTP status code as shown in the following table.
| Response | Description |
|---|---|
| 201 Created | Group has been successfully created. HTTP header For example: |
| 403 Forbidden | The request cannot be completed because API user has no permission to create groups |
| 400 Bad Request | The request cannot be completed because supplied JSON object has invalid data. When response has content type |