---
title: "Remove a user from a space"
method: DELETE
path: "/v2/spaces/{space_id}/users/{user_id}"
tags: ["Spaces"]
---

# Remove a user from a space

`DELETE /v2/spaces/{space_id}/users/{user_id}`

Remove a user from a space. This removes both the legacy `SpaceMembers` row
and any RBAC role bindings for the user on this space.

Returns 404 if the user is not a member of the space.

**Authorization**
Requires space admin role (legacy auth) or `ROLE_BINDING_DELETE` permission (RBAC).

<Note>This endpoint is in beta, read more [here](https://arize.com/docs/ax/rest-reference#api-version-stages).</Note>

## Path parameters

- `space_id` string, required — A universally unique identifier (base64-encoded opaque string).
- `user_id` string, required — A universally unique identifier (base64-encoded opaque string).

## Response `204`

User successfully removed from the space

## Other responses

- `400` — Invalid request
- `401` — Authentication is required
- `403` — Insufficient permissions to access this resource
- `404` — Not found
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/arize-ai/apis/arize-rest-api.md) · [All operations](https://skmtc.net/arize-ai/apis/arize-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arize-ai/arize-rest-api/versions/2ce448f1de13/schema)
