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
- 200
- 401
- 403
- 404
Mint an API key for a service account (token shown once)
Missing or invalid API key
The API key is not authorized for this resource
The requested resource was not found