Skip to navigation

Create an API key

View as Markdown

Returns the key id and secret. The secret is shown once and cannot be retrieved afterwards. Present it as Authorization: Key <base64(keyId:secret)>.

Authentication

Authorizationstring

API key credential, sent as Key <base64(keyId:secret)>.

Path parameters

org_idstringRequired

Request

Request body for server.RouteAPIKeyPostObject
descriptionstringOptional
expiryDatestringOptional
roleNamestringOptional

Response

Created
bodyobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error