---
title: "Remove all consumers from a consumer group"
url: "https://nov18-dev.movespot.fyi/apis/konnect-runtime-groups-configuration-0/versions/af18902c-58f1-49d7-8ec2-9987b4e0d1bd/operations/delete-runtimeGroupId-core-entities-consumer_groups-group_id-consumers"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-runtime-groups-configuration-0/versions/af18902c-58f1-49d7-8ec2-9987b4e0d1bd.md

# Remove all consumers from a consumer group

`DELETE` `/runtime-groups/{runtimeGroupId}/core-entities/consumer_groups/{group_id}/consumers`

Operation ID: `delete-runtimeGroupId-core-entities-consumer_groups-group_id-consumers`

Removes all consumers from a consumer group. Does not delete any consumers.consumers.

## Path parameters

- `runtimeGroupId` (string, required) - The ID of your runtime group. This variable is available in the Konnect manager
- `group_id` (string, required) - The UUID of the consumer group.

## Responses

- `204` - No Content

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Konnect Runtime Groups Configuration
  version: 0.0.1
servers:
  - url: https://us.api.konghq.com/v2
    description: United-States Production region
  - url: https://eu.api.konghq.com/v2
    description: Europe Production region
  - url: https://au.api.konghq.com/v2
    description: Australia Production region
  - url: https://me.api.konghq.com/v2
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v2
    description: India Production region
  - url: https://sg.api.konghq.com/v2
    description: Singapore Production region
paths:
  /runtime-groups/{runtimeGroupId}/core-entities/consumer_groups/{group_id}/consumers:
    parameters:
      - $ref: "#/components/parameters/runtimeGroupId"
      - $ref: "#/components/parameters/group_id"
    delete:
      operationId: delete-runtimeGroupId-core-entities-consumer_groups-group_id-consumers
      summary: Remove all consumers from a consumer group
      description: Removes all consumers from a consumer group. Does not delete any
        consumers.consumers.
      responses:
        "204":
          description: No Content
      tags:
        - consumer-groups
security:
  - konnectAccessToken: []
  - personalAccessToken: []
components:
  parameters:
    runtimeGroupId:
      name: runtimeGroupId
      in: path
      required: true
      schema:
        type: string
        example: 9524ec7d-36d9-465d-a8c5-83a3c9390458
      description: The ID of your runtime group. This variable is available in the
        Konnect manager
    group_id:
      name: group_id
      in: path
      required: true
      schema:
        type: string
        example: be4bcfca-b1df-4fac-83cc-5cf6774bf48e
      description: The UUID of the consumer group.
  securitySchemes:
    konnectAccessToken:
      type: http
      scheme: bearer
      description: >-
        The Konnect access token is meant to be used by the Konnect dashboard
        and the decK CLI to

        authenticate with.
    personalAccessToken:
      type: http
      scheme: bearer
      description: The personal access token is meant to be used as an alternative to
        basic-auth when accessing Konnect via APIs. You can generate a Personal
        Access Token (PAT) from the personal access token page in the Konnect
        dashboard.
```
