Skip to main content
POST
Change Member Role

Authorizations

X-EntityToken
string
header
required

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

Body

application/json

Changes the role membership of a list of entities from one role to another in in a single operation. The destination role must already exist. This is equivalent to adding the entities to the destination role and removing from the origin role. Returns nothing if successful.

Changes the role membership of a list of entities from one role to another in in a single operation. The destination role must already exist. This is equivalent to adding the entities to the destination role and removing from the origin role. Returns nothing if successful.

Group
object
required

The identifier of the group

Members
object[]
required

List of entities to move between roles in the group. All entities in this list must be members of the group and origin role.

OriginRoleId
string
required

The ID of the role that the entities currently are a member of. Role IDs must be between 1 and 64 characters long.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

DestinationRoleId
string

The ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 and 64 characters long.

Response

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
Last modified on October 1, 2026