Licenses
Update a license entry details
Changed onThis API let’s you to update metadata of a license entry
patch/license_updates/{license_id}
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
licenseIdstring
Example:addon.1zYnCiM9Bpg.1zYn
License Id to filter
Request body
Example request
{
"accountId": "acc.fdjsl.313",
"effectiveFrom": "2021-03-04T14:25:10Z",
"metadata": {
"key1": "value1",
"key2": "value2"
}
}Response
Success response
Example response
{
"licenseId": "lic.fdjsl.313",
"accountId": "acc.fdjsl.313",
"quantity": 10,
"effectiveFrom": "2021-03-04T14:25:10Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"createdAt": "2021-03-04T14:25:10Z"
}Changes
- breaking
the
////response's property type changed fromintegertonumberfor status
- breaking
- info
endpoint added
- info