Identity__update User
This mutation is used to create a new user. This is a system admin only mutation. { permissions: ['*', 'create'], collectionName: 'identity__User', } Platform admin only. Needs the `identity__User` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
identity__updateUser(body: UpdateUserFromAdmin!, where: CommonFindDocumentDto!): Boolean!This mutation is used to create a new user. This is a system admin only mutation. { permissions: ['*', 'create'], collectionName: 'identity__User', } Platform admin only. Needs the identity__User update permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
body*where*Returns
identity__updateUser*Boolean!mutation Identity__updateUser($body: UpdateUserFromAdmin!, $where: CommonFindDocumentDto!) { identity__updateUser(body: $body, where: $where)}{ "body": { "accountStatus": "ACTIVE", "avatar": { "external": "string", "fileAssetId": "1" } }, "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "identity__updateUser": true }}Identity__update Tenant Notice MUTATION
Platform admin only.
Identity__update Vendor MUTATION
Updates an existing vendor/supplier. Optionally update the password for vendor portal access. Requires a signed-in staff user. Needs the `identity__Vendor` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).