curl --request POST \
--url https://api.togai.com/license_updates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"licenseId": "addon.21LdC76myzw.uiSWm",
"accountId": "account#1",
"updateType": "ABSOLUTE",
"quantity": 10
}
'{
"licenseId": "lic.fdjsl.313",
"accountId": "acc.fdjsl.313",
"quantity": 10,
"effectiveFrom": "2020-01-01T00:00:00Z",
"createdAt": "2021-03-04T14:25:10Z"
}Licenses
Update a license entry
This API let’s you to add a license entry
POST
/
license_updates
curl --request POST \
--url https://api.togai.com/license_updates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"licenseId": "addon.21LdC76myzw.uiSWm",
"accountId": "account#1",
"updateType": "ABSOLUTE",
"quantity": 10
}
'{
"licenseId": "lic.fdjsl.313",
"accountId": "acc.fdjsl.313",
"quantity": 10,
"effectiveFrom": "2020-01-01T00:00:00Z",
"createdAt": "2021-03-04T14:25:10Z"
}Authorizations
Body
application/json
License update request
Response
Success response
License update
