---
title: "Deactivate a user"
description: "Deactivates a user on Mindtickle by Mindtickle user ID."
contentType: "api-reference"
url: "https://developer.mindtickle.com/docs/users-and-groups/users/deactivate-a-user/"
---

## Prerequisites

1. [Authentication and setup](/docs/getting-started/authentication-and-setup/): A valid access token.
2. [Create a user](/docs/users-and-groups/users/create-a-user/): The user must exist.

## Endpoint

```http
DELETE /services/data/v4.0/mtobjects/User/USER_ID
```

Base URL: the standard REST host for your region. See [Base URLs](/docs/getting-started/authentication-and-setup/#base-urls).

Headers: `Authorization: Bearer ACCESS_TOKEN`.

## Path parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `USER_ID` | string | Required | Mindtickle ID of the user. |

## Request

This endpoint has no request body.

## Response

| Field | Type | Description |
| --- | --- | --- |
| `requestId` | string or null | Request identifier. The response examples return `null`. |
| `responseCode` | integer | Special response codes from the server. |
| `responseType` | string | Type of response from the server. |
| `taskCompleted` | boolean | Flag for task completion. `true` means the task is successfully queued in Mindtickle. |
| `processIds` | Array[string] | Mindtickle process IDs. Use them to check the status of a request. |

### Response example

```json
{
  "requestId": null,
  "responseCode": 0,
  "responseType": "BULK_RESPONSE",
  "taskCompleted": true,
  "processIds": ["1234567890123456101"]
}
```

## Notes

- **Async processing:** The request is queued, and the response returns process IDs you use to check the result.
- **Reactivation:** Updating profile fields for a deactivated learner through the user APIs reactivates the learner.

## Related

- [Get a user](/docs/users-and-groups/users/get-a-user/): Find the Mindtickle user ID this endpoint needs.
- [Deactivate multiple users](/docs/users-and-groups/users/deactivate-multiple-users/): Deactivate several users in one request.
- [Check process status](/docs/users-and-groups/users/check-process-status/): Check the status of the returned process IDs.
