Chuyển đến nội dung chính
POST
/
licenses
/
deactivate
JavaScript
import DodoPayments from 'dodopayments';

const client = new DodoPayments({
  bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});

await client.licenses.deactivate({
  license_key: 'license_key',
  license_key_instance_id: 'license_key_instance_id',
});
Không yêu cầu khóa API: Đây là một điểm cuối công khai không yêu cầu xác thực. Bạn có thể gọi trực tiếp từ ứng dụng khách, phần mềm máy tính để bàn hoặc CLI để hủy kích hoạt khóa giấy phép mà không làm lộ thông tin chứng thực API của mình.

Nội dung

application/json
license_key
string
bắt buộc
license_key_instance_id
string
bắt buộc

Phản hồi

License key instance deactivated successfully