Deactivate a license

Deactivate a license.

put

This method sets the license's status to Inactive only if its current status is Active. No changes are made if the license is already in any other state (e.g., NotStarted, Used, Expired).

You might use this when you want to temporarily suspend a license without permanently using or expiring it.

Path parameters
idstringRequired

The id of the license.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.

Example: YOUR_AUTH_KEY
Responses
chevron-right
200

The request was successful.

application/json

This provides interfaces for API responses with data.

successbooleanRead-onlyRequired

This is the flag to indicate whether the API call is successful or not.

statusCodeinteger · int32Read-onlyRequired

This is the HTTP status code. This is used to determine the status code to be returned to the client.

messagestring · min: 1Read-onlyRequired

This is the message to be displayed to the user.

put
/api/v1/licenses/{id}/deactivate

Last updated