Consumers
Get a Consumer
Get a Consumer using ID or username.
get/{workspace}/consumers/{ConsumerIdOrUsername}
Request
- Base URL: http://localhost:8001
- URL: http://localhost:8001/{workspace}/consumers/{ConsumerIdOrUsername}
- Auth: API key in header Kong-Admin-Token
Path parameters
workspacestring required
Example:team-payments
The name of the workspace
Response
Successfully fetched Consumer
Example response
{
"custom_id": "4200",
"id": "8a388226-80e8-4027-a486-25e4f7db5d21",
"tags": [
"silver-tier"
],
"username": "bob-the-builder"
}