POST
/
accounts
/
{account_id}
/
entitlements
/
{feature_id}
curl --request POST \
  --url https://api.togai.com/accounts/{account_id}/entitlements/{feature_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "value": "enum1"
}'
{
  "success": true
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

account_id corresponding to an account

feature_id
string
required

feature_id corresponding to a feature

Body

application/json
value
string
required

Value of the entitlement

Response

200 - application/json
success
boolean
required