Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The updated name of the user the license is registered
The updated domain or IP address associated with the
The updated status of the license (valid
, invalid
,
The updated product ID. If sent with an empty value, the product will be unlinked.
The updated project ID associated with the
Path Parameters
Response
❗ You must provide at least one of the following headers:
X-Registered-To
,X-Domain-Or-IP
,X-Status
,X-Product-Id
, orX-Project-Id
.
Special Behavior
- If
X-Product-Id
is included but empty, the license will be disassociated from the product (product_id
will be set toNULL
).
Error Responses
401 Unauthorized
: The reseller token is invalid or does not match the license.404 Not Found
: The license key does not exist.400 Bad Request
: No update fields were provided in the headers.500 Internal Server Error
: A database error occurred during the update.
Notes
- The reseller token must belong to the same
reseller_id
as the license in order to perform an update. - All update fields must be passed as HTTP headers.
- To remove a product association, send
X-Product-Id
with an empty value.