Skip to Content
StoreOSv0.27.1
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).

MUTATIONidentity__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)}
Variables
{  "where": {    "and": [      {        "and": [          {            "and": [              {                "and": [                  {}                ],                "key": "string"              }            ],            "key": "string"          }        ],        "key": "string"      }    ],    "key": "string"  }}
Example Response
{  "data": {    "identity__removeRole": true  }}