Skip to main content
DELETE
/
v2
/
reseller
/
{license_key}
/
delete
Delete License
curl --request DELETE \
  --url https://api.ricardoneud.com/v2/reseller/{license_key}/delete \
  --header 'Authorization: Bearer <token>'
{
  "message": "License deleted successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

license_key
string
required

Response

200 - application/json

Error Responses:

  • 401 Unauthorized: If the reseller token is invalid or does not match the license.
  • 404 Not Found: If the license does not exist.
  • 500 Internal Server Error: If a database error occurs during the deletion process.

Notes:

  • The reseller token must match the license's reseller_id to allow deletion.
  • Ensure the provided license key corresponds to an existing license for deletion.
message
string
required
I