Licenses
Update a license entry
This API let’s you to add a license entry
POST
/
license_updates
{
"licenseId": "lic.fdjsl.313",
"accountId": "acc.fdjsl.313",
"quantity": 10,
"effectiveFrom": "2020-01-01T00:00:00Z",
"createAt": "2021-03-04T14:25:10Z"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
licenseId
string
requiredThe license id for which the update is requested
accountId
string
requiredThe account id for which the license is being updated
updateType
enum<string>
requiredThe type of update to be performed
Available options:
RELATIVE
, ABSOLUTE
quantity
integer
requiredThe quantity to be updated
effectiveFrom
string
The effective from date for the update
idempotencyKey
string
The idempotency key for uniqueness of the license update request
Response
200 - application/json
licenseId
string
requiredaccountId
string
requiredquantity
integer
requiredAbsolute quantity of the license
effectiveFrom
string
requiredcreatedAt
string
required{
"licenseId": "lic.fdjsl.313",
"accountId": "acc.fdjsl.313",
"quantity": 10,
"effectiveFrom": "2020-01-01T00:00:00Z",
"createAt": "2021-03-04T14:25:10Z"
}