---
title: "Delete a SCIM user from an enterprise"
method: DELETE
path: "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}"
tags: ["enterprise-admin"]
---

# Delete a SCIM user from an enterprise

`DELETE /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}`

Suspends a SCIM user permanently from an enterprise. This action will: remove all the user's data,  anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible.

## Path parameters

- `scim_user_id` string, required
- `enterprise` string, required

## Response `204`

User was deleted, no content

## Other responses

- `400` — Bad request
- `401` — Authorization failure
- `403` — Permission denied
- `404` — Resource not found
- `429` — Too many requests
- `500` — Internal server error

---

[API](https://skmtc.net/github/apis/ghec.md) · [All operations](https://skmtc.net/github/apis/ghec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/ghec/revisions/8ae6d0c8716e/schema)
