Join Member to Group

This API allows you to add a member to a group.

📘

Pass at lease one among the query parameters. - id, externalId, primaryUserId.

❗️

Make sure you have the appropriate access control configured. For more information, see access group documentation.

API endpoint

{host}.api.capillarytech.com/v2/organization/userGroup2/join

Body parameters

ParameterDescription
userIdThe unique identifier for the user.
primaryMemberA boolean value indicating whether the user is a primary member or not.
permissionsAn array of strings that represent the permissions assigned to the user.

Response parameters

ParameterDescription
responseArray containing details of the response entity and the result.
response[].entityIdContains information about the entity's identification and associated properties.
response[].entityId.userIdUnique identifier of the user associated with the entity.
response[].entityId.groupIdUnique identifier of the group associated with the entity.
response[].entityId.permissionsArray of permissions granted to the entity.
response[].entityId.defaultGroupBoolean indicating whether the entity belongs to a default group or not.
response[].entityId.activeBoolean indicating if the entity is active.
response[].entityId.primaryMemberBoolean indicating if the entity is a primary member or not.
response[].resultContains the resultant details after processing the request,.
response[].result.userIdUnique identifier of the user associated with the result.
response[].result.groupIdUnique identifier of the group associated with the result.
response[].result.permissionsArray of permissions granted to the result.
response[].result.defaultGroupBoolean indicating whether the result belongs to a default group or not.
response[].result.activeBoolean indicating if the result is active.
response[].result.primaryMemberBoolean indicating if the result is a primary member or not.
response[].warningsArray containing any warnings related to the response.
totalCountThe total number of entities in the response.
failureCountThe total number of failures during the processing.
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!