Update Consumer Associated to a Specific Plugin
PATCH {{gateway}}/plugins/:pluginId/consumer
Update Consumer Associated to a Specific Plugin konghq
Attributes | Mandatory | Type | Description |
---|
plugin id | required | path | The unique identifier of the Plugin associated to the Consumer to be updated. |
Request Body
Attributes | Mandatory | Description |
---|
username | semi-optional | The unique username of the consumer. You must send either this field or custom_id with the request. |
custom_id | semi-optional | Field for storing an existing unique ID for the consumer - useful for mapping Kong with users in your existing database. You must send either this field or username with the request. |
tags | optional | An optional set of strings associated with the Consumer, for grouping and filtering. |
Request Body
{"username"=>"my-username", "custom_id"=>"my-custom-id", "tags"=>["user-level", "low-priority"]}
Key | Datatype | Required | Description |
---|
Content-Type | string | | |