Create API Key

View as Markdown
Create an API key for a subaccount. The secret is returned once in the response.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Path parameters

idstringRequired

Request

This endpoint expects an object.
namestringRequired1-200 characters
expiresAtdatetime or nullOptional

Response

Default Response
dataobject
secretstring>=1 character