---
title: "Deactivate a user"
url: "https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/PUT__users__employeeid__deactivate"
---

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

# Deactivate a user

`PUT` `/cmd/v1/users/{employeeId}/deactivate`

Operation ID: `PUT__users__employeeid__deactivate`

## 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 Flags a user as deactivated within a REVEAL account. REVEAL allows for both deactivated and deleted object row states, however only the deactivation option is made available through the API. PUT methods do not return an object review; the response is limited to a set of standard HTTP codes.

## Path parameters

- `employeeId` (integer, required) - Employee ID is the unique identifier for the user within REVEAL. Must be an integer.

## Request body (required)

Content types: `application/json`

## Responses

- `204` - Successfully deactivated the user.
- `400` - Bad request. The request body is invalid.
- `401` - Unauthorized. The request lacks valid authentication credentials.
- `404` - The specified user was not found, or the employee ID is not a valid integer.
- `500` - Internal server error. An unexpected error occurred on the server.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Verizon Connect API
  version: 1.0.0
servers:
  - url: https://api.us.vzconnect.com
paths:
  /cmd/v1/users/{employeeId}/deactivate:
    put:
      tags:
        - User API
      summary: Deactivate a user
      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

        Flags a user as deactivated within a REVEAL account. REVEAL allows for both deactivated and deleted object row states, however only the deactivation option is made available through the API. PUT methods do not return an object review; the response is limited to a set of standard HTTP codes.
      operationId: PUT__users__employeeid__deactivate
      parameters:
        - name: employeeId
          in: path
          required: true
          description: Employee ID is the unique identifier for the user within REVEAL.
            Must be an integer.
          schema:
            type: integer
          example: 777099
      requestBody:
        description: Required request body. Set Deactivate to true to deactivate the
          user. If Deactivate is false the request makes no change and still
          returns 204.
        required: true
        content:
          application/json:
            schema:
              type: object
              description: The request body used to flag a user as deactivated.
              required:
                - Deactivate
              properties:
                Deactivate:
                  type: boolean
                  description: Set to true to flag the user as deactivated within the REVEAL
                    account.
                  example: true
              title: DeactivateInput
            example:
              Deactivate: true
      responses:
        "204":
          description: Successfully deactivated the user.
          content:
            application/json: {}
        "400":
          description: Bad request. The request body is invalid.
          content:
            application/json: {}
        "401":
          description: Unauthorized. The request lacks valid authentication credentials.
          content:
            application/json: {}
        "404":
          description: The specified user was not found, or the employee ID is not a valid
            integer.
          content:
            application/json: {}
        "500":
          description: Internal server error. An unexpected error occurred on the server.
          content:
            application/json: {}
      deprecated: false
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/cmd/v1/users/[^/]+/deactivate/?$
```
