Update an existing 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>"
],
"manualProvisioningAssignees": [
{
"assigneeId": "<string>",
"assigneeType": "MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED"
}
],
"provisioningStrategy": {
"builtinWorkflow": {},
"customWorkflow": {
"provisionWorkflowId": "<string>",
"deprovisionWorkflowId": "<string>"
},
"linkedEntitlements": {
"linkedEntitlementIds": [
"<string>"
]
},
"manual": {
"assignees": [
{
"assigneeId": "<string>",
"assigneeType": "MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED"
}
]
}
}
}
'{
"data": {
"id": "<string>",
"resourceId": "<string>",
"name": "<string>",
"description": "<string>",
"provisioningMethod": "<string>",
"requestsEnabled": true,
"accessPolicyId": "<string>",
"linkedEntitlementIds": [
"<string>"
],
"manualProvisioningAssignees": [
{
"assigneeId": "<string>",
"assigneeType": "MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED"
}
],
"provisioningStrategy": {
"builtinWorkflow": {},
"customWorkflow": {
"provisionWorkflowId": "<string>",
"deprovisionWorkflowId": "<string>"
},
"linkedEntitlements": {
"linkedEntitlementIds": [
"<string>"
]
},
"manual": {
"assignees": [
{
"assigneeId": "<string>",
"assigneeType": "MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED"
}
]
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the entitlement.
The name of the entitlement.
A description of the entitlement.
The provisioning method for the entitlement.
Whether requests are enabled for the entitlement.
The default access policy for the entitlement (optional).
The IDs of entitlements that must be provisioned before this entitlement can be provisioned (optional).
The manual provisioning assignees (users and groups) for this entitlement (optional, only used when provisioning_method is "manual").
Show child attributes
Preferred provisioning configuration. Exactly one strategy should be set.
Show child attributes
Option: builtin_workflow
Option: manual
Show child attributes
Users and groups that should be assigned/notified for manual provisioning.
Show child attributes
The ID of the user or group.
The type of assignee.
MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED, MANUAL_PROVISIONING_ASSIGNEE_TYPE_USER, MANUAL_PROVISIONING_ASSIGNEE_TYPE_GROUP Success
The updated entitlement.
Show child attributes
The ID of the entitlement.
The ID of the resource that the entitlement belongs to.
The name of the entitlement.
A description of the entitlement.
The provisioning method for the entitlement.
Whether requests are enabled for the entitlement.
The default access policy for the entitlement.
The IDs of entitlements that must be provisioned before this entitlement can be provisioned (prerequisite entitlements).
The manual provisioning assignees (users and groups) for this entitlement.
Show child attributes
The ID of the user or group.
The type of assignee.
MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED, MANUAL_PROVISIONING_ASSIGNEE_TYPE_USER, MANUAL_PROVISIONING_ASSIGNEE_TYPE_GROUP Preferred provisioning configuration. Exactly one strategy should be set.
Show child attributes
Option: builtin_workflow
Option: manual
Show child attributes
Users and groups that should be assigned/notified for manual provisioning.
Show child attributes
The ID of the user or group.
The type of assignee.
MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED, MANUAL_PROVISIONING_ASSIGNEE_TYPE_USER, MANUAL_PROVISIONING_ASSIGNEE_TYPE_GROUP Was this page helpful?
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>"
],
"manualProvisioningAssignees": [
{
"assigneeId": "<string>",
"assigneeType": "MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED"
}
],
"provisioningStrategy": {
"builtinWorkflow": {},
"customWorkflow": {
"provisionWorkflowId": "<string>",
"deprovisionWorkflowId": "<string>"
},
"linkedEntitlements": {
"linkedEntitlementIds": [
"<string>"
]
},
"manual": {
"assignees": [
{
"assigneeId": "<string>",
"assigneeType": "MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED"
}
]
}
}
}
'{
"data": {
"id": "<string>",
"resourceId": "<string>",
"name": "<string>",
"description": "<string>",
"provisioningMethod": "<string>",
"requestsEnabled": true,
"accessPolicyId": "<string>",
"linkedEntitlementIds": [
"<string>"
],
"manualProvisioningAssignees": [
{
"assigneeId": "<string>",
"assigneeType": "MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED"
}
],
"provisioningStrategy": {
"builtinWorkflow": {},
"customWorkflow": {
"provisionWorkflowId": "<string>",
"deprovisionWorkflowId": "<string>"
},
"linkedEntitlements": {
"linkedEntitlementIds": [
"<string>"
]
},
"manual": {
"assignees": [
{
"assigneeId": "<string>",
"assigneeType": "MANUAL_PROVISIONING_ASSIGNEE_TYPE_UNSPECIFIED"
}
]
}
}
}
}