Create a User-to-Group Relationship

Creates a user-to-group relationship.

Note: For more information about this command, including descriptions of any path and request parameters, request body schema, response codes and schemas, and payload examples, refer to the online API reference for this command at the following web page:

Create a user-to-group relationship

URI

https://bartendercloud.com/api/security/Memberships/userrelationship

Note: The bartendercloud.com domain that is referenced in the URI must be replaced with the contents of the DataCenterURI claim that is extracted from your access token. For more information, refer to Extracting the DataCenterURI Claim.

Path Parameters

None.

Query Parameters

None.

Request Body Schema

ParentId

Type: String (or null)

Specifies the parent group identification.

UserIds

Type: Array of strings (or null)

Specifies the user IDs that you want to include in the relationship.