---
title: "Assign a Max seat to a user"
method: POST
path: "/public/v1/billing/max/seats/assign"
tags: ["Billing"]
---

# Assign a Max seat to a user

`POST /public/v1/billing/max/seats/assign`

Assigns a Max seat to the given user. Fails if no seats are available or the user already holds one. Requires a USER API key belonging to an OWNER or ADMIN.

## Request body

- PublicMaxSeatInput
  - `userId` integer, required — ID of the user to assign/unassign (see GET /users)

## Response `200`

Seat assigned

- PublicMaxSeatResult
  - `success` boolean, required
  - `userId` number, required
  - `assigned` boolean, required — Whether the user holds a Max seat after this operation

## Other responses

- `400` — Bad Request (no Max profile / already has a seat)
- `404` — User not found, or caller is not an OWNER/ADMIN of the account

---

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