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

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

# Remove a user from a group

`DELETE` `/cmd/v1/groups/{groupid}/users/{employeeid}`

Operation ID: `DELETE__groups__groupid__users__employeeid_`

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

## Path parameters

- `employeeid` (integer, required) - The Employee ID, the unique identifier for the user within REVEAL.
- `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 user from the group.
- `400` - Bad request. No group or user was found for the given IDs.
- `401` - Unauthorized. The request lacks valid authentication credentials.
- `404` - The Employee ID is not a number.
- `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}/users/{employeeid}:
    delete:
      tags:
        - Group API
      summary: Remove a user from a group
      description: Remove a user from a specific Group ID. The Employee ID and the
        Group ID are supplied in the path. If the user is removed from all group
        associations it is placed within the Ungrouped Group. This does NOT
        delete the user record from the REVEAL account. DELETE methods do not
        return an object review, only a standard HTTP code.
      parameters:
        - schema:
            type: integer
            example: "324234346"
          name: employeeid
          in: path
          required: true
          description: The Employee ID, the unique identifier for the user within REVEAL.
        - 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__users__employeeid_
      responses:
        "204":
          description: Successfully removed the user from the group.
          content:
            application/json: {}
        "400":
          description: Bad request. No group or user was found for the given IDs.
          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 Employee ID is not a number.
          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/[^/]+/users/[^/]+/?$
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.
```
