GET
/
license_updates
curl --request GET \
  --url https://api.togai.com/license_updates \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "licenseId": "lic.fdjsl.313",
      "accountId": "acc.fdjsl.313",
      "quantity": 10,
      "effectiveFrom": "2020-01-01T00:00:00Z",
      "createdAt": "2021-03-04T14:25:10Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

nextToken
string

Pagination token used as a marker to get records from next page.

Example:

"eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEyMywgInNvcnRPcmRlciI6ICJhc2MifQ=="

account_id
string

Filter option to filter based on account id.

Example:

"1234"

pageSize
integer

Maximum page size expected by client to return the record list.

NOTE: Max page size cannot be more than 50. Also 50 is the default page size if no value is provided.

Example:

10

licenseId
string

License Id to filter

Example:

"addon.1zYnCiM9Bpg.1zYn"

effectiveFrom
string

effectiveFrom to filter

Example:

"2021-03-04T14:25:10Z"

Response

200
application/json
Success response

Get license updates response

data
object[]
required

License update

nextToken
string
Maximum length: 500
Example:

"eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEyMywgInNvcnRPcmRlciI6ICJhc2MifQ=="