---
title: "Deactivate User"
method: POST
path: "/v1/auth/{user_id}/deactivate"
tags: ["authentication"]
---

# Deactivate User

`POST /v1/auth/{user_id}/deactivate`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/auth/{user_id}/deactivate`
- Auth: none declared

Admin only. Deactivate a user and unsubscribe from all their webhooks.

## Path parameters

- `user_id` integer, required

## Headers

- `x-admin-api-key` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
