---
title: "PUT /users/{id}"
method: PUT
path: "/users/{id}"
tags: ["users"]
---

# PUT /users/{id}

`PUT /users/{id}`

Activate or inactivate a specific user.

## Path parameters

- `id` integer, required

## Request body

- PutUsers — Activate or inactivate a specific user.
  - `active` boolean, required — Whether the user should be active or not.

## Response `200`

OK

- object
  - `data` UserEntity
    - `id` integer — User ID.
    - `account` object — Account information.
      - `id` string
      - `features` string
    - `accountId` integer — Account ID.
    - `name` string — User name.
    - `createdAt` unknown
    - `contact` object — Contact information.
      - `email` string, email — Email address.
      - `work` string — Formatted work phone number.
      - `mobile` string — Formatted mobile phone number.
      - `fax` string — Formatted fax number.
      - `ramal` string — Phone line branch number.
      - `radio` string — Radio phone number.
      - `whatsapp` string — WhatsApp phone number.
      - `facebook` string, url — Facebook profile URL.
      - `twitter` string, url — Twitter profile URL.
      - `linkedIn` string, url — LinkedIn profile URL.
      - `skype` string — Skype username.
      - `instagram` string, url — Instagram profile URL.
    - `teams` UserTeamEntity[] — Teams that this user belongs to.
      - `id` integer — Team ID.
      - `leader` boolean — Whether this user is a leader of this team.
    - `isBlocked` boolean — Whether this user is blocked or not.

---

[API](https://skmtc.net/agendor/apis/agendor-api.md) · [All operations](https://skmtc.net/agendor/apis/agendor-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agendor/agendor-api/versions/15b713a36796/schema)
