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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
Content-Length: length
{"sessionId":"String","parentGroupId":"String","name":"String","path":"String","companyId":"00000000000000000000000000000000"}