Skip to main content
POST
/
licenses
/
deactivate
JavaScript
import DodoPayments from 'dodopayments';

const client = new DodoPayments({
  bearerToken: 'My Bearer Token',
});

await client.licenses.deactivate({
  license_key: 'license_key',
  license_key_instance_id: 'license_key_instance_id',
});
No API Key Required: This is a public endpoint that does not require authentication. You can call it directly from client applications, desktop software, or CLIs to deactivate license keys without exposing your API credentials.

Body

application/json
license_key
string
required
license_key_instance_id
string
required

Response

License key instance deactivated successfully