Create a group
Use POST /v2/accounts/{account-uuid}/groups
to create a user group. You don't have to pass a group uuid parameter in the request because it will be generated.
Endpoint
/v2/accounts/{account-uuid}/groups
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
account-uuid | string | - | path | required |
body | Rest | - | body | optional |
Request body objects
The RequestBody
object
The object doesn't provide any parameters.
The RestGroupForm
object
Element | Type | Description | Required |
---|---|---|---|
uuid | string | - | optional |
name | string | - | optional |
description | string | - | optional |
federatedAttributeValues | string[] | - | optional |
Request body JSON model
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
[
{
"uuid": "string",
"name": "string",
"description": "string",
"federatedAttributeValues": [
"string"
]
}
]
Response
Response codes
Code | Type | Description |
---|---|---|
200 | - | Group created correctly |
400 | ExceptionMessage | Invalid Group or Account for creation |