AI Gateway Consumer Groups
Add a Consumer to a Consumer Group
Changed onAdd a consumer to an AI Gateway Consumer Group.
post/v1/ai-gateways/{gatewayId}/consumer-groups/{consumerGroupId}/consumers
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v1/ai-gateways/{gatewayId}/consumer-groups/{consumerGroupId}/consumers
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"consumer": "cf4c7e60-11db-49dd-b300-7c7e5f0f7e6b"
}Response
Consumer added to consumer group successfully.
Example response
{
"consumer": {
"display_name": "Greg's Dev Consumer",
"name": "my-entity-name",
"custom_id": "dev-users",
"labels": {
"category": "finance"
},
"managed_by": {
"owner": "terraform"
},
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
},
"consumer_group": {
"display_name": "Dev Users Group",
"name": "my-entity-name",
"labels": {
"category": "finance"
},
"managed_by": {
"owner": "terraform"
},
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status
- warning