Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Identity__update Current Tenant User

Requires a signed-in staff user. Needs the `identity__User` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONidentity__updateCurrentTenantUser(input: UpdateCurrentTenantUserInput!, userId: ID!): Boolean!

Requires a signed-in staff user. Needs the identity__User update permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

input*
userId*ID!

Returns

identity__updateCurrentTenantUser*Boolean!
Example Request
mutation Identity__updateCurrentTenantUser($input: UpdateCurrentTenantUserInput!, $userId: ID!) {  identity__updateCurrentTenantUser(input: $input, userId: $userId)}
Variables
{  "input": {    "accountStatus": "ACTIVE",    "createNotice": true  },  "userId": "1"}
Example Response
{  "data": {    "identity__updateCurrentTenantUser": true  }}