Create API key
Creates an API key for a service account; the secret is returned only once. | authz: cedar=createServiceAccountApiKey | (AuthzServiceAccountApiKeyCreateReq) -> (AuthzServiceAccountApiKeyCreateRes)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
user_id
Must be a string starting with user_
Request
This endpoint expects an object.
name
expires_at_timestamp
Response
Successful Response
api_key_id
expires_at_timestamp
name
obfuscated_value
value
The API key secret. Shown only in this response.
Errors
403
Forbidden Error
422
Unprocessable Entity Error