---
title: "Delete a group by ID"
url: "https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/deleteGroupById"
---

> Full API specification: https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2.md

# Delete a group by ID

`DELETE` `/v1/groups/{group-id}`

Operation ID: `deleteGroupById`

## Before you start Before you make your first API call, make sure you have the following: - Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace. - You have the Client ID and Client Secret for your integration. - Get an access token using your Client ID and Client Secret. For instructions, read [get your token](/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getToken). > If you are maintaining an existing integration configured before **November 27, 2026** using an **App ID** and **legacy credentials**, follow the [Call the APIs with legacy credentials Guide](/guides/legacy). ## Purpose Deletes an existing group using either a server-generated `groupId` or a customer-managed `externalId` (formatted as `scope:value`). Note: This operation is idempotent. Subsequent deletion requests for an already-deleted group will return a `204 No Content` status. This operation will fail if the group still contains child groups or attached entities. To delete a group that is not empty, use `POST /v1/groups/{group-id}/delete`.

## Path parameters

- `group-id` (string, required) - Unique group identifier. Accepts either a server-owned groupId or a customer-owned externalId in scope:value format.

## Header parameters

- `traceparent` (string, optional) - Standard W3C Trace Context header used to propagate distributed tracing identifiers across microservices.
- `tracestate` (string, optional) - Standard W3C Trace Context header containing vendor-specific routing and tracing key-value pairs.

## Responses

- `204` - No Content
- `400` - Bad Request
- `401` - Unauthorized
- `403` - Forbidden
- `409` - Conflict
- `429` - Too Many Requests
- `default` - Internal Server Error

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Verizon Connect API
  version: 1.0.0
servers:
  - url: https://api.us.vzconnect.com
paths:
  /v1/groups/{group-id}:
    parameters:
      - $ref: "#/components/parameters/GroupsHierarchyApi_GroupIdPath"
    delete:
      tags:
        - Groups Management API [Beta]
      operationId: deleteGroupById
      summary: Delete a group by ID
      description: |-
        ## Before you start

        Before you make your first API call, make sure you have the following:

        - Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
        - You have the Client ID and Client Secret for your integration.
        - Get an access token using your Client ID and Client Secret. For instructions, read [get your token](/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getToken).

        > If you are maintaining an existing integration configured before **November 27, 2026** using an **App ID** and **legacy credentials**, follow the [Call the APIs with legacy credentials Guide](/guides/legacy).

        ## Purpose

        Deletes an existing group using either a server-generated `groupId` or a customer-managed `externalId` (formatted as `scope:value`).

        Note: This operation is idempotent. Subsequent deletion requests for an already-deleted group will return a `204 No Content` status.

        This operation will fail if the group still contains child groups or attached entities. To delete a group that is not empty, use `POST /v1/groups/{group-id}/delete`.
      parameters:
        - $ref: "#/components/parameters/GroupsHierarchyApi_TraceParent"
        - $ref: "#/components/parameters/GroupsHierarchyApi_TraceState"
      responses:
        "204":
          $ref: "#/components/responses/GroupsHierarchyApi_NoContent"
        "400":
          $ref: "#/components/responses/GroupsHierarchyApi_BadRequest"
        "401":
          $ref: "#/components/responses/GroupsHierarchyApi_Unauthorized"
        "403":
          $ref: "#/components/responses/GroupsHierarchyApi_Forbidden"
        "409":
          $ref: "#/components/responses/GroupsHierarchyApi_Conflict"
        "429":
          $ref: "#/components/responses/GroupsHierarchyApi_TooManyRequests"
        default:
          $ref: "#/components/responses/GroupsHierarchyApi_InternalServerError"
components:
  parameters:
    GroupsHierarchyApi_GroupIdPath:
      name: group-id
      in: path
      description: Unique group identifier. Accepts either a server-owned groupId or a
        customer-owned externalId in scope:value format.
      required: true
      schema:
        type: string
        minLength: 3
        maxLength: 45
        pattern: ^([0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|(?=.{3,45}$)[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+)$
      examples:
        By groupId:
          value: 019726a4-3b2c-7def-8abc-1234567890ab
        By externalId:
          value: fleet:north-west-region-01
    GroupsHierarchyApi_TraceParent:
      name: traceparent
      in: header
      description: Standard W3C Trace Context header used to propagate distributed
        tracing identifiers across microservices.
      required: false
      schema:
        type: string
        minLength: 55
        maxLength: 55
        pattern: ^00-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-f]{2}$
    GroupsHierarchyApi_TraceState:
      name: tracestate
      in: header
      description: Standard W3C Trace Context header containing vendor-specific
        routing and tracing key-value pairs.
      required: false
      schema:
        type: string
        minLength: 1
        maxLength: 512
        pattern: ^[^\n]{1,512}$
  responses:
    GroupsHierarchyApi_NoContent:
      description: No Content
    GroupsHierarchyApi_BadRequest:
      description: Bad Request
      content:
        application/problem+json:
          schema:
            title: ProblemJson
            description: JSON Schema for HTTP Problems as defined by RFC 9457
            type: object
            properties:
              type:
                type: string
                format: uri-reference
                description: A URI reference that identifies the problem type.
                pattern: ^[^\n]*$
              title:
                type: string
                description: A short, human-readable summary of the problem type.
                minLength: 8
                maxLength: 1024
                pattern: ^[^\n]*$
              status:
                type: integer
                format: int32
                description: The HTTP status code generated by the origin server for this
                  occurrence of the problem.
                minimum: 300
                maximum: 599
              detail:
                type: string
                description: A human-readable explanation specific to this occurrence of the
                  problem.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              instance:
                type: string
                format: uri-reference
                description: A URI reference that identifies the specific occurrence of the
                  problem.
                pattern: ^[^\n]*$
              pointer:
                type: string
                description: A pointer to locate the problem within the request's content using
                  a JSON Pointer. Verizon extension to RFC 9457.
                minLength: 1
                maxLength: 2048
                pattern: ^(\/[^\n]+)*$
              debugId:
                type: string
                description: A unique error identifier string generated on the service-side and
                  logged for correlation purposes. Verizon extension to RFC
                  9457.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              errors:
                type: array
                description: List of individual error occurrences.
                minItems: 0
                maxItems: 50
                items:
                  type: object
                  additionalProperties: false
                  required:
                    - detail
                  properties:
                    pointer:
                      type: string
                      description: A pointer to locate the problem within the request's content using
                        a JSON Pointer.
                      minLength: 1
                      maxLength: 2048
                      pattern: ^(\/[^\n]+)*$
                    detail:
                      type: string
                      description: A human-readable explanation specific to this occurrence of the
                        problem.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
                    debugId:
                      type: string
                      description: A unique error identifier generated on the service-side for
                        correlation purposes.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
    GroupsHierarchyApi_Unauthorized:
      description: Unauthorized
      content:
        application/problem+json:
          schema:
            title: ProblemJson
            description: JSON Schema for HTTP Problems as defined by RFC 9457
            type: object
            properties:
              type:
                type: string
                format: uri-reference
                description: A URI reference that identifies the problem type.
                pattern: ^[^\n]*$
              title:
                type: string
                description: A short, human-readable summary of the problem type.
                minLength: 8
                maxLength: 1024
                pattern: ^[^\n]*$
              status:
                type: integer
                format: int32
                description: The HTTP status code generated by the origin server for this
                  occurrence of the problem.
                minimum: 300
                maximum: 599
              detail:
                type: string
                description: A human-readable explanation specific to this occurrence of the
                  problem.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              instance:
                type: string
                format: uri-reference
                description: A URI reference that identifies the specific occurrence of the
                  problem.
                pattern: ^[^\n]*$
              pointer:
                type: string
                description: A pointer to locate the problem within the request's content using
                  a JSON Pointer. Verizon extension to RFC 9457.
                minLength: 1
                maxLength: 2048
                pattern: ^(\/[^\n]+)*$
              debugId:
                type: string
                description: A unique error identifier string generated on the service-side and
                  logged for correlation purposes. Verizon extension to RFC
                  9457.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              errors:
                type: array
                description: List of individual error occurrences.
                minItems: 0
                maxItems: 50
                items:
                  type: object
                  additionalProperties: false
                  required:
                    - detail
                  properties:
                    pointer:
                      type: string
                      description: A pointer to locate the problem within the request's content using
                        a JSON Pointer.
                      minLength: 1
                      maxLength: 2048
                      pattern: ^(\/[^\n]+)*$
                    detail:
                      type: string
                      description: A human-readable explanation specific to this occurrence of the
                        problem.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
                    debugId:
                      type: string
                      description: A unique error identifier generated on the service-side for
                        correlation purposes.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
    GroupsHierarchyApi_Forbidden:
      description: Forbidden
      content:
        application/problem+json:
          schema:
            title: ProblemJson
            description: JSON Schema for HTTP Problems as defined by RFC 9457
            type: object
            properties:
              type:
                type: string
                format: uri-reference
                description: A URI reference that identifies the problem type.
                pattern: ^[^\n]*$
              title:
                type: string
                description: A short, human-readable summary of the problem type.
                minLength: 8
                maxLength: 1024
                pattern: ^[^\n]*$
              status:
                type: integer
                format: int32
                description: The HTTP status code generated by the origin server for this
                  occurrence of the problem.
                minimum: 300
                maximum: 599
              detail:
                type: string
                description: A human-readable explanation specific to this occurrence of the
                  problem.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              instance:
                type: string
                format: uri-reference
                description: A URI reference that identifies the specific occurrence of the
                  problem.
                pattern: ^[^\n]*$
              pointer:
                type: string
                description: A pointer to locate the problem within the request's content using
                  a JSON Pointer. Verizon extension to RFC 9457.
                minLength: 1
                maxLength: 2048
                pattern: ^(\/[^\n]+)*$
              debugId:
                type: string
                description: A unique error identifier string generated on the service-side and
                  logged for correlation purposes. Verizon extension to RFC
                  9457.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              errors:
                type: array
                description: List of individual error occurrences.
                minItems: 0
                maxItems: 50
                items:
                  type: object
                  additionalProperties: false
                  required:
                    - detail
                  properties:
                    pointer:
                      type: string
                      description: A pointer to locate the problem within the request's content using
                        a JSON Pointer.
                      minLength: 1
                      maxLength: 2048
                      pattern: ^(\/[^\n]+)*$
                    detail:
                      type: string
                      description: A human-readable explanation specific to this occurrence of the
                        problem.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
                    debugId:
                      type: string
                      description: A unique error identifier generated on the service-side for
                        correlation purposes.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
    GroupsHierarchyApi_Conflict:
      description: Conflict
      content:
        application/problem+json:
          schema:
            title: ProblemJson
            description: JSON Schema for HTTP Problems as defined by RFC 9457
            type: object
            properties:
              type:
                type: string
                format: uri-reference
                description: A URI reference that identifies the problem type.
                pattern: ^[^\n]*$
              title:
                type: string
                description: A short, human-readable summary of the problem type.
                minLength: 8
                maxLength: 1024
                pattern: ^[^\n]*$
              status:
                type: integer
                format: int32
                description: The HTTP status code generated by the origin server for this
                  occurrence of the problem.
                minimum: 300
                maximum: 599
              detail:
                type: string
                description: A human-readable explanation specific to this occurrence of the
                  problem.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              instance:
                type: string
                format: uri-reference
                description: A URI reference that identifies the specific occurrence of the
                  problem.
                pattern: ^[^\n]*$
              pointer:
                type: string
                description: A pointer to locate the problem within the request's content using
                  a JSON Pointer. Verizon extension to RFC 9457.
                minLength: 1
                maxLength: 2048
                pattern: ^(\/[^\n]+)*$
              debugId:
                type: string
                description: A unique error identifier string generated on the service-side and
                  logged for correlation purposes. Verizon extension to RFC
                  9457.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              errors:
                type: array
                description: List of individual error occurrences.
                minItems: 0
                maxItems: 50
                items:
                  type: object
                  additionalProperties: false
                  required:
                    - detail
                  properties:
                    pointer:
                      type: string
                      description: A pointer to locate the problem within the request's content using
                        a JSON Pointer.
                      minLength: 1
                      maxLength: 2048
                      pattern: ^(\/[^\n]+)*$
                    detail:
                      type: string
                      description: A human-readable explanation specific to this occurrence of the
                        problem.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
                    debugId:
                      type: string
                      description: A unique error identifier generated on the service-side for
                        correlation purposes.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
    GroupsHierarchyApi_TooManyRequests:
      description: Too Many Requests
      content:
        application/problem+json:
          schema:
            title: ProblemJson
            description: JSON Schema for HTTP Problems as defined by RFC 9457
            type: object
            properties:
              type:
                type: string
                format: uri-reference
                description: A URI reference that identifies the problem type.
                pattern: ^[^\n]*$
              title:
                type: string
                description: A short, human-readable summary of the problem type.
                minLength: 8
                maxLength: 1024
                pattern: ^[^\n]*$
              status:
                type: integer
                format: int32
                description: The HTTP status code generated by the origin server for this
                  occurrence of the problem.
                minimum: 300
                maximum: 599
              detail:
                type: string
                description: A human-readable explanation specific to this occurrence of the
                  problem.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              instance:
                type: string
                format: uri-reference
                description: A URI reference that identifies the specific occurrence of the
                  problem.
                pattern: ^[^\n]*$
              pointer:
                type: string
                description: A pointer to locate the problem within the request's content using
                  a JSON Pointer. Verizon extension to RFC 9457.
                minLength: 1
                maxLength: 2048
                pattern: ^(\/[^\n]+)*$
              debugId:
                type: string
                description: A unique error identifier string generated on the service-side and
                  logged for correlation purposes. Verizon extension to RFC
                  9457.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              errors:
                type: array
                description: List of individual error occurrences.
                minItems: 0
                maxItems: 50
                items:
                  type: object
                  additionalProperties: false
                  required:
                    - detail
                  properties:
                    pointer:
                      type: string
                      description: A pointer to locate the problem within the request's content using
                        a JSON Pointer.
                      minLength: 1
                      maxLength: 2048
                      pattern: ^(\/[^\n]+)*$
                    detail:
                      type: string
                      description: A human-readable explanation specific to this occurrence of the
                        problem.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
                    debugId:
                      type: string
                      description: A unique error identifier generated on the service-side for
                        correlation purposes.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
    GroupsHierarchyApi_InternalServerError:
      description: Internal Server Error
      content:
        application/problem+json:
          schema:
            title: ProblemJson
            description: JSON Schema for HTTP Problems as defined by RFC 9457
            type: object
            properties:
              type:
                type: string
                format: uri-reference
                description: A URI reference that identifies the problem type.
                pattern: ^[^\n]*$
              title:
                type: string
                description: A short, human-readable summary of the problem type.
                minLength: 8
                maxLength: 1024
                pattern: ^[^\n]*$
              status:
                type: integer
                format: int32
                description: The HTTP status code generated by the origin server for this
                  occurrence of the problem.
                minimum: 300
                maximum: 599
              detail:
                type: string
                description: A human-readable explanation specific to this occurrence of the
                  problem.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              instance:
                type: string
                format: uri-reference
                description: A URI reference that identifies the specific occurrence of the
                  problem.
                pattern: ^[^\n]*$
              pointer:
                type: string
                description: A pointer to locate the problem within the request's content using
                  a JSON Pointer. Verizon extension to RFC 9457.
                minLength: 1
                maxLength: 2048
                pattern: ^(\/[^\n]+)*$
              debugId:
                type: string
                description: A unique error identifier string generated on the service-side and
                  logged for correlation purposes. Verizon extension to RFC
                  9457.
                minLength: 8
                maxLength: 2048
                pattern: ^[^\n]*$
              errors:
                type: array
                description: List of individual error occurrences.
                minItems: 0
                maxItems: 50
                items:
                  type: object
                  additionalProperties: false
                  required:
                    - detail
                  properties:
                    pointer:
                      type: string
                      description: A pointer to locate the problem within the request's content using
                        a JSON Pointer.
                      minLength: 1
                      maxLength: 2048
                      pattern: ^(\/[^\n]+)*$
                    detail:
                      type: string
                      description: A human-readable explanation specific to this occurrence of the
                        problem.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
                    debugId:
                      type: string
                      description: A unique error identifier generated on the service-side for
                        correlation purposes.
                      minLength: 8
                      maxLength: 2048
                      pattern: ^[^\n]*$
```
