---
title: "Deprovision a user"
method: DELETE
path: "/scim/v2/{orgSlug}/Users/{id}"
tags: ["SCIM"]
---

# Deprovision a user

`DELETE /scim/v2/{orgSlug}/Users/{id}`

## Request

- Base URL: `https://api.routebase.dev`
- URL: `https://api.routebase.dev/scim/v2/{orgSlug}/Users/{id}`
- Auth: HTTP bearer

Removes a user from the organization.

## Path parameters

- `ScimId` string, uuid, required
- `OrgSlug` string, required

## Headers

- `X-RB-Region` string

## Response `204`

The user was removed.

## Other responses

- `404`: A SCIM error envelope.
- `429`: The rate limit was exceeded. The `Retry-After` header gives the seconds to wait. SCIM is counted per source IP.

---

[API](https://skmtc.dev/routebase/apis/routebase-public-api.md) · [All operations](https://skmtc.dev/routebase/apis/routebase-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/routebase/apis/routebase-public-api/revisions/7187df489f27?raw)
