curl --request POST \
--url https://api.withorb.com/v1/licenses/{license_id}/deactivate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"end_date": "2026-01-27"
}
'{
"id": "<string>",
"subscription_id": "<string>",
"license_type_id": "<string>",
"external_license_id": "<string>",
"status": "active",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
}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.
curl --request POST \
--url https://api.withorb.com/v1/licenses/{license_id}/deactivate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"end_date": "2026-01-27"
}
'{
"id": "<string>",
"subscription_id": "<string>",
"license_type_id": "<string>",
"external_license_id": "<string>",
"status": "active",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
}API Keys can be issued in the Orb's web application.
The date to deactivate the license. If not provided, defaults to end of day today in the customer's timezone.
"2026-01-27"
Was this page helpful?