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

# Remove a user

`DELETE /users/{id}`

## Request

- Base URL: `https://sg.deployhq.com`
- URL: `https://sg.deployhq.com/users/{id}`
- Auth: HTTP basic

Removes a user from the account. Cannot remove the account administrator.

## Path parameters

- `id` string, required

## Response `200`

Deleted

- StatusObject
  - `status` string

## Other responses

- `401`: You are not authorized to access this resource. You need to authenticate yourself first.
- `403`: Forbidden
- `404`: The requested resource could not be found.
- `500`: An unexpected error occurred on the server. The server was unable to process the request.

---

[API](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation.md) · [All operations](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/revisions/830264ae58be?raw)
