---
title: "Assign Asset"
method: POST
path: "/assets/assign"
---

# Assign Asset

`POST /assets/assign`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/assets/assign`
- Auth: API key in header `x-api-key`

Assigns or unassigns users to an asset. `type` is the single discriminator for assign vs unassign — there is no separate request shape. For ASSIGN, each `{user_uid, team_uid}` pair is validated as a genuine existing Users-Teams association; for UNASSIGN no such check is performed, the user is simply removed from the asset's assignees.

## Request body

- object
  - `asset_uid` string, required
  - `type` 'ASSIGN' | 'UNASSIGN', required
  - `users` object[], required
    - `user_uid` string, required
    - `team_uid` string, required

## Response `200`

200

- object
  - `type` string
  - `title` string
  - `message` string

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/assets/assign/post.md)

---

[API](https://skmtc.dev/zuper/apis/zuper-pro-api.md) - [All operations](https://skmtc.dev/zuper/apis/zuper-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zuper/apis/zuper-pro-api/revisions/3c21bc232e16?raw)
