---
title: "Create a VIRIN for a service unit"
method: POST
path: "/service-unit/{id}/virin"
tags: ["service-unit", "virin"]
---

# Create a VIRIN for a service unit

`POST /service-unit/{id}/virin`

This endpoint creates a VIRIN for the service unit specified by the ID in the path parameter.
The VIRIN is a unique identifier used to track media assets within the system.
If the unit does not have a DVIAN on file, a 409 Conflict error will be returned.

## Response `201`

The created ServiceUnitVirin object

## Other responses

- `400` — The request payload is not correctly formed.
- `404` — The object identified by path parameters does not exist.
- `409` — The resource is in a conflicted state with the request.

---

[API](https://skmtc.net/dvidshub/apis/dvids-content-submission-api.md) · [All operations](https://skmtc.net/dvidshub/apis/dvids-content-submission-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dvidshub/dvids-content-submission-api/revisions/921b385ab6b9/schema)
