Skip to main content
POST
/
configuration
/
accounts
/
{account_id}
/
keys
Creates a new api key for the account
curl --request POST \
  --url https://commerce1.on-hellgate.dev/configuration/accounts/{account_id}/keys \
  --header 'Content-Type: application/json' \
  --data '
{
  "expired_at": "2023-11-07T05:31:56Z"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "key_value": "<string>"
}

Path Parameters

account_id
string
required

Account ID

Body

application/json

Body

expired_at
string<date-time>

Expiration date. Must be in the future.

Response

Success

id
string<uuid>
required
key_value
string
required