API Reference · Organization · API tokens
Delete API token
Mutation
deleteAPITokenDeletes an API token of the organization.
deleteAPIToken(
organizationUUID: ID!
tokenId: ID!
): Boolean!Arguments
Field
Type
Returns
Boolean!
Example
mutation DeleteAPIToken($organizationUUID: ID!, $tokenId: ID!) {
deleteAPIToken(organizationUUID: $organizationUUID, tokenId: $tokenId)
}Example response
{
"data": {
"deleteAPIToken": true
}
}Related
Create API token
Creates an organization API token that isn't tied to a member and has manager permissions for the organization, teams, services, incidents, incident roles, incident schemas, status pages, alerts, alert sources and alert processors. This is the only response that contains the full token.
Types
Objects, inputs, enums and unions of the Incidite GraphQL schema.