API Keys

List API Keys

get

Return a list of all API Keys.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

List of Requested API Keys

application/json
get
/api/v1/api-keys

Create API Key

post

Create an API Key from the supplied object.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

API Key Create Config

appnamestringRequired

API Key Name

Example: my_application
descriptionstringOptional

API Key Description

Example: API Key for my application
rolesstring[]Required

An array containing strings which include the role name the user should be assigned to.

Example: ["app_admin"]
Responses
post
/api/v1/api-keys

Get API Key

get

Fetches a specific API Key from the appname supplied in the path.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
appnamestringRequired

String appname of the API Key to get

Responses
200

Object of a Requested API Key

application/json
get
/api/v1/api-keys/{appname}

Update API Key

put

Update a API Key given the provided object. This does not do a diff. You must send the complete object.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
appnamestringRequired

String appname of the API Key to get

Body

API Key Update Config

descriptionstringOptional

API Key Description

Example: API Key for my application
rolesstring[]Optional

An array containing strings which include the role name the user should be assigned to.

Example: ["app_admin"]
Responses
200

Object of a Requested API Key

application/json
put
/api/v1/api-keys/{appname}

Delete API Key

delete

Deletes the API Key

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
appnamestringRequired

String appname of the API Key to get

Responses
delete
/api/v1/api-keys/{appname}

No content

Update API Key

put

Update a API Key given the provided object. This does not do a diff. You must send the complete object.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
appnamestringRequired

String appname of the API Key to get

Body

API Key Update Config

descriptionstringOptional

API Key Description

Example: API Key for my application
rolesstring[]Optional

An array containing strings which include the role name the user should be assigned to.

Example: ["app_admin"]
Responses
200

Object of a Requested API Key

application/json
put
/api/v1/api-keys/{appname}/regen

Last updated