cURL
curl --request POST \ --url https://{host}/frontend/api/v1/auth/api-token \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "permissions": [ "read:billing" ], "ttl": 0 }'
{ "created": "2023-11-07T05:31:56Z", "expired": null, "expires-at": null, "permissions": {}, "token": "<string>", "updated": "2023-11-07T05:31:56Z" }
API Key Security (Header).
Permissions list
Show child attributes
Token expiration time. 0 - no expire
x >= 0
OK