Group - Creates a group for a tenant
Authorizations
Path parameters
tenantIdstring · uuidRequired
Enter the ID of the existing tenant under which a new group will be created.
Query parameters
versionstringOptionalDefault:
The requested API version
1.0
Body
Class for representing create request for group model.
displayNamestring | nullableOptional
A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the DisplayName property.
descriptionstring | nullableOptional
A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the Description property.
roleIdstring · uuid | nullableOptionalDefault:
A public property of type guid that has both a getter and a setter method, which allows for getting and setting the value of the GroupId property.
null
Responses
201
Success: The group was successfully created.
500
Internal Server Error: An unexpected error occurred or a server timeout.
post
POST /tenants/{tenantId}/groups HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 91
{
"displayName": "text",
"description": "text",
"roleId": "123e4567-e89b-12d3-a456-426614174000"
}
{
"groupId": "123e4567-e89b-12d3-a456-426614174000",
"tenantId": "123e4567-e89b-12d3-a456-426614174000",
"roleId": "123e4567-e89b-12d3-a456-426614174000",
"displayName": "text",
"description": "text"
}
Last updated