POST | /keycloak/groups/add/subgroup | add a subgroup to a group in keycloak |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SessionId | form | string | Yes | The id of the REST session |
ParentGroupId | form | string | Yes | The id of the parent group for the sub group |
Name | form | string | Yes | The name of the sub group |
Path | form | string | Yes | Example: /Path |
CompanyId | form | Guid | No | The company id in the logins database the user is associated with |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SessionId | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /keycloak/groups/add/subgroup HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
sessionId: String,
parentGroupId: String,
name: String,
path: String,
companyId: 00000000000000000000000000000000
}