---
title: "DELETE /users/{id}"
method: DELETE
path: "/users/{id}"
tags: ["Users"]
---

# DELETE /users/{id}

`DELETE /users/{id}`

## Request

- Base URL: `https://api.axiom.co/v2`
- URL: `https://api.axiom.co/v2/users/{id}`
- Auth: OAuth 2
  - Authorization code: `https://accounts.google.com/o/oauth2/v2/auth`
  - Token URL: `https://www.googleapis.com/oauth2/v4/token` scopes: `users|delete`
- TypeScript: <https://skmtc.dev/axiom/apis/axiom-public-api/docs/users/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a user from the organization without deleting their Axiom account. You can't remove the organization's last member. With a personal access token (PAT), only owners can remove an owner.

## Path parameters

- `id` string, required

## Response `204`

User removed from the organization.

---

[API](https://skmtc.dev/axiom/apis/axiom-public-api.md) - [All operations](https://skmtc.dev/axiom/apis/axiom-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axiom/apis/axiom-public-api/revisions/7e39a295e3ba?raw)
