---
title: "Assigns a task to a user"
method: POST
path: "/v1.0/tasks-assignment/assign"
tags: ["Tasks Assignment"]
---

# Assigns a task to a user

`POST /v1.0/tasks-assignment/assign`

## Request body

- RequestTaskAssignmentDTO — The request task assignment body
  - `taskId` integer, required
  - `userId` string, required

## Response `204`

No Content

## Other responses

- `400` — Bad Request Error Code | Description ITEM1000 | Can not assign request to the provided user ITEM1001 | Request task is not assignable
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

> 17 revisions in range; 2 could not be searched.

- **2025-11-18** `75eb25c6c016` — 4 warning
  - removed the optional property `security` from the response with the `400` status
  - removed the optional property `security` from the response with the `403` status
  - removed the optional property `security` from the response with the `404` status
  - removed the optional property `security` from the response with the `500` status
- **2025-07-17** `ae162f3b8695` — 4 info
  - added the optional property `security` to the response with the `400` status
  - added the optional property `security` to the response with the `403` status
  - added the optional property `security` to the response with the `404` status
  - added the optional property `security` to the response with the `500` status

[Change history](https://skmtc.dev/beis/apis/mets-api-documentation/changes/v1.0/tasks-assignment/assign/post.md)

---

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