1. Licenses
MHL License API
  • Resellers
    • Test Connection
      POST
  • Licenses
    • Register a new license
      POST
    • Renew License
      POST
    • Suspend License
      POST
    • UnSuspend License
      POST
    • Terminate License
      POST
    • Change IP Address
      POST
    • Get License Information
      POST
  1. Licenses

Suspend License

POST
/licenses/suspendKey

Request

Authorization
API Key
Add parameter in query
reseller_token
Example:
reseller_token: ********************
or
Body Params multipart/form-data

Responses

🟢200Licenses Suspended
application/json
Bodyapplication/json

🟠403Invalid Reseller Token
🟠400Bad Request
🟠404Service Not Found
🟠403
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.myhostlicenses.com/licenses/suspendKey' \
--form 'reseller_token="Your Reseller Token"' \
--form 'client_ip="127.0.0.1"' \
--form 'service=""' \
--form 'suspendReason=""' \
--form 'action="suspend"'
Response Response Example
200 - License Renewed
{
    "status": 200,
    "message": "This license key has been suspended"
}
Modified at 2026-08-22 20:49:45
Previous
Renew License
Next
UnSuspend License
Built with