Skip to main content
PUT
/
v2
/
app-resource-entitlements
/
{id}
Update App Resource Entitlement
curl --request PUT \
  --url https://public.api.serval.com/v2/app-resource-entitlements/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "provisioningMethod": "<string>",
  "requestsEnabled": true,
  "accessPolicyId": "<string>",
  "linkedEntitlementIds": [
    "<string>"
  ]
}'
{
  "data": {
    "id": "<string>",
    "resourceId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "provisioningMethod": "<string>",
    "requestsEnabled": true,
    "accessPolicyId": "<string>",
    "linkedEntitlementIds": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the entitlement.

Body

application/json
name
string

The name of the entitlement.

description
string

A description of the entitlement.

provisioningMethod
string

The provisioning method for the entitlement.

requestsEnabled
boolean

Whether requests are enabled for the entitlement.

accessPolicyId
string | null

The default access policy for the entitlement (optional).

linkedEntitlementIds
string[]

The IDs of entitlements that must be provisioned before this entitlement can be provisioned (optional).

Response

Success

data
object

The updated entitlement.

I