---
title: "Remove a driver from a group"
url: "https://developers.vzconnect.com/apis/group-api-1/versions/1abd2768-7ba0-4b09-8b60-156957ef21ce/operations/DELETE__groups__groupid__drivers__drivernumber_"
---

> Full API specification: https://developers.vzconnect.com/apis/group-api-1/versions/1abd2768-7ba0-4b09-8b60-156957ef21ce.md

# Remove a driver from a group

`DELETE` `/cmd/v1/groups/{groupid}/drivers/{drivernumber}`

Operation ID: `DELETE__groups__groupid__drivers__drivernumber_`

Remove a driver from a specific Group ID. The Driver Number and the Group ID are supplied in the path. If the driver is removed from all group associations it is placed within the Ungrouped Group. This does NOT delete the driver record from the REVEAL account. DELETE methods do not return an object review, only a standard HTTP code.

## Path parameters

- `drivernumber` (string, required) - The Driver Number, the unique identifier used to reference the driver within the API.
- `groupid` (string, required) - The Group ID, the unique alphanumeric identifier associated with the group created within the REVEAL account. Must be unique within the account.

## Responses

- `204` - Successfully removed the driver from the group.
- `400` - Bad request. No group was found for the given Group ID.
- `401` - Unauthorized. The request lacks valid authentication credentials.
- `404` - The specified driver was not found.
- `500` - Internal server error. An unexpected error occurred on the server.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Group API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /cmd/v1/groups/{groupid}/drivers/{drivernumber}:
    delete:
      tags:
        - Group API
      summary: Remove a driver from a group
      description: Remove a driver from a specific Group ID. The Driver Number and the
        Group ID are supplied in the path. If the driver is removed from all
        group associations it is placed within the Ungrouped Group. This does
        NOT delete the driver record from the REVEAL account. DELETE methods do
        not return an object review, only a standard HTTP code.
      parameters:
        - schema:
            type: string
            example: 6543-10
          name: drivernumber
          in: path
          required: true
          description: The Driver Number, the unique identifier used to reference the
            driver within the API.
        - schema:
            type: string
            example: CPTG1
          name: groupid
          in: path
          required: true
          description: The Group ID, the unique alphanumeric identifier associated with
            the group created within the REVEAL account. Must be unique within
            the account.
      operationId: DELETE__groups__groupid__drivers__drivernumber_
      responses:
        "204":
          description: Successfully removed the driver from the group.
          content:
            application/json: {}
        "400":
          description: Bad request. No group was found for the given Group ID.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized. The request lacks valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: The specified driver was not found.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal server error. An unexpected error occurred on the server.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      deprecated: false
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/cmd/v1/groups/[^/]+/drivers/[^/]+/?$
components:
  schemas:
    Error:
      type: object
      description: Generic error response. The documentation does not define an
        explicit error body schema.
      properties:
        Message:
          type: string
          description: A human-readable description of the error.
```
