---
title: "Delete a list of users"
method: POST
path: "/scim/v2/Users/delete"
tags: ["SCIM"]
---

# Delete a list of users

`POST /scim/v2/Users/delete`

Sets multiple users to deactivate.
The value of the `id` should be the user's corresponding user ID.

## Headers

- `Idempotency-Key` string
- `Accept-Encoding` string
- `Content-Encoding` string
- `Zuora-Track-Id` string
- `Zuora-Entity-Ids` string

## Request body

- string[]

## Response `200`

OK

- object
  - `resources` object[]
    - `schemas` string[]
    - `externalId` string, nullable — An external identifier associated with the resource, if available.
    - `id` string, nullable — The unique identifier assigned to the resource.
    - `meta` object, nullable
      - `resourceType` string — The type of resource (e.g., 'User').
      - `location` string — The URL where the resource can be accessed.
      - `created` string, dateTime — The creation date and time when the resource was created.
    - `schemaUrns` string[] — A list of URNs for SCIM schemas that this resource conforms to.
  - `externalId` string, nullable — An external identifier associated with the collection of resources, if available.
  - `id` string, nullable — The unique identifier for the collection of resources.
  - `itemsPerPage` integer — The number of items returned per page in the response.
  - `meta` object, nullable
    - `resourceType` string — The type of resource for the collection (e.g., 'User').
    - `location` string — The URL where the collection of resources can be accessed.
  - `schemas` string[] — A list of URNs for SCIM schemas applicable to the collection of resources.
  - `startIndex` integer — The index of the first item in the current page of results.
  - `totalResults` integer — The total number of results available across all pages.

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zuora/api-reference/revisions/d11e237f3e54/schema)
