Entitlements
Batch Create Entitlements
Batch create multiple entitlements in a single request
post/resources/entitlements/v2/batch
Request
- Base URLhttp://localhost:8181
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"entitlements": [
{
"planId": "e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3",
"tenantId": "e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3",
"userId": "e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3",
"expirationDate": "2022-01-01T12:00:00"
}
]
}Response
Example response
{
"entitlementIds": [
"e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.