Consumers
Upsert a Consumer
Changed onCreate or Update Consumer using ID or username.
put/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerId}
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerId}
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"custom_id": "4200",
"id": "8a388226-80e8-4027-a486-25e4f7db5d21",
"tags": [
"silver-tier"
],
"username": "bob-the-builder"
}Response
Successfully upserted Consumer
Example response
{
"custom_id": "4200",
"id": "8a388226-80e8-4027-a486-25e4f7db5d21",
"tags": [
"silver-tier"
],
"username": "bob-the-builder"
}Changes
- breaking
the response property
became nullable for the status - info
the request property
became nullable
- breaking