v1

latestOpenAPI 3.0.02026-08-06165119238.1 KB
Grants

Create an account grant

Creates an account grant. This is for an account that is specified by the accountId

post/v4/accounts/{accountId}/grants

Path parameters

accountIdstring required

Unique Account identifier

Request body

entitlement_type'bundle' | 'entitlement' | 'meter' | 'credits' required

An enum describing the type of the entitlement.

entitlement_idstring required
startTimestring
endTimestring
product_idstring required

Example request

{
  "entitlement_type": "bundle",
  "entitlement_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
  "startTime": "2022-06-01 00:00:00",
  "endTime": "2022-12-31 23:59:59",
  "product_id": "XXXXXXXXXXXXXX"
}

Response

Created