post
/service-accounts/{id}/api-keysCreate API key
Creates an API key for a service account. Store the plaintext key from this response because it is shown once.
Authorization
Scheme
- bearerAuth
Required scopes
- api_key:create
Allowed roles
- owner
- admin
Create an API key.
Parameters
- Name
id- Type
- path string
- Description
- Required parameter.
Request body
- Name
application/json- Type
- CreateAPIKeyRequest
- Description
- Required body.
Responses
- 200
API key created (plaintext key shown once)
- application/json CreateAPIKeyResponse
- default
Error
- application/json ProblemDetails