Create an account grant

Creates an account grant.

Request
path Parameters
accountId
required
string

Unique Account identifier

Request Body schema: application/json
entitlement_type
required
string

An enum describing the type of the entitlement.

Enum: "bundle" "entitlement" "meter" "credits"
entitlement_id
required
string
startTime
string
endTime
string
product_id
required
string
Responses
201

Created

400

Bad Request

post/v3/accounts/{accountId}/grants
Request samples
application/json
{
  • "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"
}