---
title: "Removes a user"
method: DELETE
path: "/settings/users/2026-09/{userId}"
tags: ["Users"]
---

# Removes a user

`DELETE /settings/users/2026-09/{userId}`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/settings/users/2026-09/{userId}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `settings.users.write`
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `crm.objects.users.write`

Removes a user identified by `userId`. `userId` refers to the user's ID by default, or optionally email as specified by the `IdProperty` query param.

## Path parameters

- `userId` string, required

## Query parameters

- `idProperty` 'EMAIL' | 'USER_ID'

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

- **2026-10-13** (2026-09) `9aa42e094343`: 2 info
  - the security scope `settings.users.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `crm.objects.users.write` was removed from the endpoint's security scheme `oauth2`
- **2026-10-10** (2026-09) `1ec62479c06a`: 2 info
  - the security scope `crm.objects.users.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `settings.users.write` was removed from the endpoint's security scheme `oauth2`
- **2026-09-22** (2026-09) `1ec62479c06a`: 2 info
  - the security scope `crm.objects.users.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `settings.users.write` was removed from the endpoint's security scheme `oauth2`

[Operation history](https://skmtc.dev/hubspot/apis/settings-user-provisioning/changes/settings/users/2026-09/:userId/delete.md)

---

[API](https://skmtc.dev/hubspot/apis/settings-user-provisioning.md) - [All operations](https://skmtc.dev/hubspot/apis/settings-user-provisioning/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/settings-user-provisioning/revisions/9aa42e094343?raw)
