Skip to main content
POST
Create an API key

Authorizations

Authorization
string
header
required

Authenticate with an SDX user access token that has permission to manage API keys.

Body

application/json
name
string
required

A human-readable key name.

Required string length: 3 - 100
Example:

"Production automation"

permissions
string[]
required

Permission scopes to grant to the key. You can only grant permissions available to your user.

Minimum array length: 1

Response

The API key was created. Save the returned secret immediately.

status
string
Example:

"success"

data
object