Core GraphQL APIReferenceMutations
Identity__create Tenant
Platform admin only.
MUTATION
identity__createTenant(input: CreateTenantInput!): CommonMutationResponse!Platform admin only.
Arguments
input*Returns
- identity__createTenant
_id*ID!Example Request
mutation Identity__createTenant($input: CreateTenantInput!) { identity__createTenant(input: $input) { _id }}{ "input": { "name": "string", "uid": "string" }}{ "data": { "identity__createTenant": { "_id": "1" } }}Identity__create Role MUTATION
Requires a signed-in staff user. Needs the `identity__Role` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Identity__create User MUTATION
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` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).