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

Authorizations

Authorization
string
header
required

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

Headers

X-Registered-To
string

The new name of the registered user for the license

X-Domain-Or-IP
string

The new domain or IP address associated with the license

X-Status
string

The new status of the license (e.g., valid, invalid)

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.
  • 400 Bad Request: If no valid update fields are provided.
  • 500 Internal Server Error: If a database error occurs.

Notes:

  • You must provide at least one update field (X-Registered-To, X-Domain-Or-IP, or X-Status).
  • The reseller token must match the license's reseller_id to allow updates.
message
string
required
I