---
title: "Unassign seats from users"
method: DELETE
path: "/api/v2/seats/users"
tags: ["Seats"]
---

# Unassign seats from users

`DELETE /api/v2/seats/users`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/seats/users`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Unassign seats from users for a product code.

## Request body

- UnassignSeatsUserRequest: The request body for unassigning seats from users for a product code.
  - `data` UnassignSeatsUserRequestData: The request data object containing attributes for unassigning seats from users.
    - `attributes` UnassignSeatsUserRequestDataAttributes, required: Attributes specifying the product and users from whom seats will be unassigned.
      - `product_code` string, required: The product code for which to unassign seats.
      - `user_uuids` string[], required: The list of user IDs to unassign seats from.
    - `id` string: The ID of the unassign seats user request.
    - `type` 'seat-assignments', required: Seat assignments resource type.

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `422`: Unprocessable Entity
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
