CompanyApiKey
A company API key. Its token is shown once, by createCompanyApiKey.
object
CompanyApiKeyFields
id
ID!
The key's id, as revokeCompanyApiKey takes it.
name
String
The key's name.
capabilities
[String!]
What the key may do, such as workspaces:list, sorted.
workspaces
The workspaces the key can reach that the calling key can reach too, ordered by uid. Empty once revoked.
Arguments
first
Int
default:100
How many to return: 100 by default, at most 500. 0 returns only totalCount.
after
String
The endCursor of the previous page.
createdAt
When the key was created.
expiresAt
When the key stops working; null when it never expires.
lastUsedAt
When the key last made a request; null if never.
revokedAt
When the key was revoked; null while it works.