---
title: "Clear the project binding on a caller-owned license"
method: POST
path: "/v1/licenses/{id}/unassign-project"
tags: ["Licenses"]
---

# Clear the project binding on a caller-owned license

`POST /v1/licenses/{id}/unassign-project`

## Request

- Base URL: `https://api.vendure.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.vendure.io/v1/licenses/{id}/unassign-project`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vendure/apis/vendure-io-api-public/docs/v1/licenses/:id/unassign-project/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Response `200`

- LicensePublicDto
  - `id` string, uuid, required
  - `key` string, required
  - `customerId` string, uuid, required
  - `projectId` string, uuid, nullable, required
  - `replacesId` string, uuid, nullable, required
  - `kind` 'PRODUCTION' | 'POC' | 'DEMO' | 'EVAL', required
  - `status` 'ACTIVE' | 'REVOKED' | 'REPLACED', required
  - `startsAt` string, required
  - `expiresAt` string, required
  - `createdAt` string, required

## Other responses

- `400`: Validation failed
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `500`: Internal server error

---

[API](https://skmtc.dev/vendure/apis/vendure-io-api-public.md) - [All operations](https://skmtc.dev/vendure/apis/vendure-io-api-public/llms.txt) - [OpenAPI document](https://skmtc.dev/vendure/apis/vendure-io-api-public/revisions/0747ce439f89?raw)
