List all app resource entitlements for a resource.
curl --request GET \
--url https://public.api.serval.com/v2/app-resource-entitlements \
--header 'Authorization: Bearer <token>'{
"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 resource.
Success
The list of entitlements.
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 GET \
--url https://public.api.serval.com/v2/app-resource-entitlements \
--header 'Authorization: Bearer <token>'{
"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"
}
]
}
}
}
]
}