Skip to main content
POST
Create sub-account API key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Sub-account ID.

Body

application/json
name
string
required
environment
enum<string>
default:live
Available options:
live,
test
permissions
string[]

Response

API key created. The full key is only returned once.

apiKey
object
required