---
title: "Delete a User"
method: DELETE
path: "/Users/{userId}"
tags: ["Users"]
---

# Delete a User

`DELETE /Users/{userId}`

## Request

- Base URL: `https://ironcladapp.com/scim/v2`
- URL: `https://ironcladapp.com/scim/v2/Users/{userId}`
- Auth: API key in header `Authorization`

Delete a user on Ironclad. If the deletion is successful, all active workflows associated with the deleted user should be automatically reassigned to the default user within the admin group. To learn how to set a default user, see the [Manage Groups](https://support.ironcladapp.com/hc/en-us/articles/12286570480791-Manage-Groups) guide. 

If the company has enabled the setting that prevents deleting non-deactivated users, the user must be deactivated (via `active: false`) before they can be deleted. 

**OAuth Scope required:** `scim.users.deleteUsers`

## Path parameters

- `userId` string, required

## Headers

- `x-as-user-email` string
- `x-as-user-id` string

## Response `204`

204 No Content

## Other responses

- `400`: 400 Bad Request
- `403`: 403 Forbidden
- `404`: 404 Not Found
- `500`: 500 Internal Server Error

---

[API](https://skmtc.dev/ironcladapp/apis/ironclad-scim-api.md) - [All operations](https://skmtc.dev/ironcladapp/apis/ironclad-scim-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ironcladapp/apis/ironclad-scim-api/revisions/ee9d1adddc38?raw)
