Skip to main content
POST
/
v1
/
entitlements
Create an entitlement
curl --request POST \
  --url https://revstack.dev/v1/entitlements \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "featureId": "<string>",
  "type": "boolean",
  "limit": 123
}
'
null

Body

application/json
name
string
required
Minimum string length: 1
featureId
string
required
Minimum string length: 1
type
enum<string>
required
Available options:
boolean,
metered
limit
integer

Response

Entitlement created

The response is of type unknown.