PATCH
/
v1
/
teams
/
{team_id}
/
entitlements
/
{entitlement_id}
Update Entitlement
curl --request PATCH \
  --url https://public.api.serval.com/v1/teams/{team_id}/entitlements/{entitlement_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "accessPolicyId": "<string>",
  "requestsEnabled": true
}'
{
  "entitlement": {
    "id": "<string>",
    "resourceId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "provisioningMethod": "<string>",
    "requestsEnabled": true,
    "accessPolicyId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string
required

The ID of the Serval team.

entitlement_id
string
required

The ID of the entitlement to update.

Body

application/json

Response

200
application/json

Success

The response is of type object.