Core GraphQL APIReferenceMutations
Identity__remove Role
Requires a signed-in staff user. Needs the `identity__Role` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).
MUTATION
identity__removeRole(where: CommonFindDocumentDto!): Boolean!Requires a signed-in staff user. Needs the identity__Role delete permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where*Returns
identity__removeRole*Boolean!Example Request
mutation Identity__removeRole($where: CommonFindDocumentDto!) { identity__removeRole(where: $where)}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "identity__removeRole": true }}