Change Member Role
Changes the role membership of a list of entities from one role to another.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| RoleDoesNotExist | 1358 |
Authorizations
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
Body
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.
The identifier of the group
List of entities to move between roles in the group. All entities in this list must be members of the group and origin role.
The ID of the role that the entities currently are a member of. Role IDs must be between 1 and 64 characters long.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
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.
