Skip to content

Service accounts

Generated from the gateway schema. Do not edit.

Queries

serviceAccounts

query { serviceAccounts: [ServiceAccount!]! }

Requires: an authenticated member of the tenant

Returns: [ServiceAccount!]!

Mutations

createServiceAccount

mutation { createServiceAccount(input: CreateServiceAccountInput!): CreateServiceAccountPayload! }

Requires: tenant EDITOR

Argument Type Description
input CreateServiceAccountInput!

Returns: CreateServiceAccountPayload!

deleteServiceAccount

mutation { deleteServiceAccount(id: ID!): Boolean! }

Requires: tenant EDITOR

Argument Type Description
id ID!

Returns: Boolean!

rotateServiceAccountToken

mutation { rotateServiceAccountToken(id: ID!): RotateServiceAccountTokenPayload! }

Requires: tenant EDITOR

Argument Type Description
id ID!

Returns: RotateServiceAccountTokenPayload!

setServiceAccountActive

mutation { setServiceAccountActive(input: SetServiceAccountActiveInput!): ServiceAccount! }

Requires: tenant EDITOR

Argument Type Description
input SetServiceAccountActiveInput!

Returns: ServiceAccount!