Licenses
Update a license entry
Changed onThis API let’s you to add a license entry
post/license_updates
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"licenseId": "lic.fdjsl.313",
"accountId": "acc.fdjsl.313",
"effectiveFrom": "2021-03-04T14:25:10Z",
"idempotencyKey": "idempotencyKey#1",
"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 - info
the
request property type was generalized fromintegertonumber
- breaking
- info
added the new optional request property
- info
added the optional property
////to the response with the status
- info