---
title: "Delete a User"
method: DELETE
path: "/v1/users/{userId}"
tags: ["User Management"]
---

# Delete a User

`DELETE /v1/users/{userId}`

## Request

- Base URL: `https://sandbox-api.spinwheel.io`
- URL: `https://sandbox-api.spinwheel.io/v1/users/{userId}`
- Auth: API key in header `Authorization`

This API allows you to delete a User. We do not retain user information, so you must re-authenticate as a new user if you need to connect again.

## Path parameters

- `userId` string, required

## Response `200`

- ResponseStatus
  - `code` number
  - `desc` string
  - `messages` Message[]
    - `desc` string, required
    - `type` 'ERROR' | 'WARN' | 'INFO'

## Other responses

- `400`: Bad request response
- `401`: Unauthorized response
- `404`: Not found response
- `500`: Internal server error response

---

[API](https://skmtc.dev/spinwheel/apis/optimize.md) - [All operations](https://skmtc.dev/spinwheel/apis/optimize/llms.txt) - [OpenAPI document](https://skmtc.dev/spinwheel/apis/optimize/revisions/6222309663d2?raw)
