DELETE /consumers/{string: group_name}/instances/{string: instance_id}/subscription

Unsubscribes from topics currently subscribed to.

Parameters

Table 1. Parameters
Parameter Description
group_name (string) Name of the consumer group.
instance (string) ID of the consumer instance.

Syntax

http://<host>:8082/consumers/<group_name>/instances/<consumer_name>/subscription

Request Example

curl -X DELETE -H "Content-Type: application/vnd.kafka.v2+json"
https:/localhost:8082/consumers/grouptest/instances/user/subscription

Response Example

HTTP/1.1 204 No Content