Consumers
Create a new Consumer
Changed onCreate a new Consumer
post/{workspace}/consumers
Request
- Base URL: http://localhost:8001
- URL: http://localhost:8001/{workspace}/consumers
- Auth: API key in header Kong-Admin-Token
Path parameters
workspacestring required
Example:team-payments
The name of the workspace
Request body
Example request
{
"custom_id": "4200",
"id": "8a388226-80e8-4027-a486-25e4f7db5d21",
"tags": [
"silver-tier"
],
"username": "bob-the-builder"
}Response
Successfully created Consumer
Example response
{
"custom_id": "4200",
"id": "8a388226-80e8-4027-a486-25e4f7db5d21",
"tags": [
"silver-tier"
],
"username": "bob-the-builder"
}Changes
- info
endpoint added
- info