---
title: "Deactivate license"
method: POST
path: "/licenses/{license_id}/deactivate"
tags: ["License"]
---

# Deactivate license

`POST /licenses/{license_id}/deactivate`

This endpoint is used to deactivate an existing license.

If an end date is provided, the license will be deactivated at the **start** of the specified date in the customer's timezone.
Otherwise, the deactivation time will default to the **end** of the current day in the customer's timezone.

## Path parameters

- `license_id` string, required

## Request body

- DeactivateLicense
  - `end_date` string, date, nullable — The date to deactivate the license. If not provided, defaults to end of day today in the customer's timezone.

## Response `200`

OK

- LicenseApiResource
  - `id` string, required
  - `subscription_id` string, required
  - `license_type_id` string, required
  - `external_license_id` string, required
  - `status` 'active' | 'inactive', required
  - `start_date` string, date-time, required
  - `end_date` string, date-time, nullable, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict
- `413` — Content Too Large
- `429` — Too Many Requests
- `500` — Internal Server Error

## Changes

- **2026-02-10** `6aa83a816c15` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/orbcorp/apis/api-reference/changes/licenses/:license_id/deactivate/post.md)

---

[API](https://skmtc.dev/orbcorp/apis/api-reference.md) · [All operations](https://skmtc.dev/orbcorp/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/orbcorp/api-reference/revisions/2580a0ee8d4c/schema)
