moveOrDeleteMspLicenseToAnotherOrg
Perform an MSP license action, such as amending license quantity to an organization, deleting a subscription, undoing an amendment, or annotating a subscription.
Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.
Format:
Authorization: Token {apitoken}
Notes:
- An API token generated for a specific admin has the same privileges as that admin
- An API token is automatically removed if it is not used for more than 90 days
- SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.
In: header
Path Parameters
uuidRequest Body
application/json
License operation request for an MSP account
Required if op==unamend; identifies the license amendment to undo
Required if op==amend; destination org ID that receives the amended license quantity
uuidRequired if op==annotate; note text to attach to the license action
License operation to perform for this MSP request. enum: amend, annotate, delete, unamend.
1 <= lengthValue in
- "amend"
- "annotate"
- "delete"
- "unamend"
Required if op==amend; license quantity to move to the destination org
Required if op==annotate; subscription ID for the license action
1 <= lengthResponse Body
curl -X PUT "https://example.com/api/v1/msps/000000ab-00ab-00ab-00ab-0000000000ab/licenses" \ -H "Content-Type: application/json" \ -d '{ "op": "delete", "subscription_id": "SUB-0000144" }'