<back to all web services
GroupsAddSubGroupReq
Remote Management
The following routes are available for this service:POST | /keycloak/groups/add/subgroup | add a subgroup to a group in keycloak | |
---|
GroupsAddSubGroupReq Parameters: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 |
RequestBase Parameters: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 .xml suffix or ?format=xml
HTTP + XML
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/xml
Content-Type: application/xml
Content-Length: length
<GroupsAddSubGroupReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/N3TAPI.Services.Keycloak.Request.Groups">
<SessionId xmlns="http://schemas.datacontract.org/2004/07/N3TAPI.Services.Keycloak.Request">String</SessionId>
<CompanyId>00000000-0000-0000-0000-000000000000</CompanyId>
<Name>String</Name>
<ParentGroupId>String</ParentGroupId>
<Path>String</Path>
</GroupsAddSubGroupReq>