API-keys
Create a new API-key associated with a Consumer
Create a new API-key associated with a Consumer
post/{workspace}/consumers/{ConsumerIdForNestedEntities}/key-auth
Path parameters
ConsumerIdForNestedEntitiesstring required
Consumer ID for nested entities
workspacestring required
Example:team-payments
The name of the workspace
Request body
Example request
{
"id": "b2f34145-0343-41a4-9602-4c69dec2f269",
"key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}Response
Successfully created API-key
Example response
{
"consumer": {
"id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
},
"id": "b2f34145-0343-41a4-9602-4c69dec2f269",
"key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}