---
title: "Assign seats to users"
method: POST
path: "/api/v2/seats/users"
tags: ["Seats"]
---

# Assign seats to users

`POST /api/v2/seats/users`

Assign seats to users for a product code.

## Request body

- AssignSeatsUserRequest — The request body for assigning seats to users for a product code.
  - `data` AssignSeatsUserRequestData — The request data object containing attributes for assigning seats to users.
    - `attributes` AssignSeatsUserRequestDataAttributes, required — Attributes specifying the product and users to whom seats will be assigned.
      - `product_code` string, required — The product code for which to assign seats.
      - `user_uuids` string[], required — The list of user IDs to assign seats to.
    - `id` string — The ID of the assign seats user request.
    - `type` 'seat-assignments', required — Seat assignments resource type.

## Response `201`

Created

- AssignSeatsUserResponse — The response body returned after successfully assigning seats to users.
  - `data` AssignSeatsUserResponseData — The response data object containing attributes of the seat assignment result.
    - `attributes` AssignSeatsUserResponseDataAttributes — Attributes of the assign seats response, including the list of users assigned and the product code.
      - `assigned_ids` string[] — The list of user IDs to which the seats were assigned.
      - `product_code` string — The product code for which the seats were assigned.
    - `id` string — The ID of the assign seats user response.
    - `type` 'seat-assignments' — Seat assignments resource type.

## Other responses

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

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
