v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-081445491.8 MB
License

Deactivate license

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.

post/licenses/{license_id}/deactivate

Path parameters

license_idstring required

Request body

end_datestring date nullable

The date to deactivate the license. If not provided, defaults to end of day today in the customer's timezone.

Example request

{
  "end_date": "2026-01-27"
}

Response

OK

idstring required
subscription_idstring required
license_type_idstring required
external_license_idstring required
status'active' | 'inactive' required
start_datestring date-time required
end_datestring date-time nullable required