Skip to main content

Mint an API key for a service account (token shown once)

POST 

/v1/networks/:networkId/service-accounts/:id/keys

Mints an API key owned by the service account and scoped to this network only. The plaintext token is returned in this response and only this response, so capture it right away. Requires the administrator role. The key's role defaults to the account's membership role and may be narrowed but never raised above it, and it can never exceed the minting admin's own role. Keys cannot be minted for a disabled account.

Request

Responses

Mint an API key for a service account (token shown once)