Create API key
POST/domains/:domainPid/service-accounts/:serviceAccountPid/keys
Mints a bearer API key scoped to this domain. The response rawKey is shown once and cannot be retrieved again. Requires a non-empty scopes array.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 503
Newly minted API key. rawKey is returned once and cannot be fetched again.
BadRequest
air/UnauthorizedError
air/ForbiddenError
NotFound
air/SchemaValidationError
air/AuthUnavailableError