Update an entitlement’s configuration.
cURL
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>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the Serval team.
The ID of the entitlement to update.
Success
The response is of type object.
object