Create an API key for a sub-account
This endpoint will generate an API v3 key for a sub-account
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
OR
AuthorizationBearer
OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app’s client_id/client_secret for a short-lived Bearer token.
Request
This endpoint expects an object.
id
Id of the sub-account organization
name
Name of the API key
Response
API key
key
API key
status
Status of the API operation.
Errors
400
Bad Request Error