Skip to main content
POST
/
v1
/
entitlements
Create an entitlement
curl --request POST \
  --url http://localhost:6900/v1/entitlements \
  --header 'Content-Type: application/json' \
  --data '
{
  "environment_id": "<string>",
  "slug": "<string>",
  "name": "<string>",
  "type": "boolean",
  "unit_type": "count",
  "description": "<string>",
  "metadata": {}
}
'
null

Documentation Index

Fetch the complete documentation index at: https://docs.revstack.dev/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
environment_id
string
required
slug
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
type
enum<string>
required
Available options:
boolean,
metered,
static,
json
unit_type
enum<string>
required
Available options:
count,
bytes,
seconds,
tokens,
requests,
custom
description
string
metadata
object

Response

Entitlement created

The response is of type unknown.