v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-224341,4072.0 MB
Task

Create Grant Task

Create a grant task

post/api/v1/task/grant

Request body

appEntitlementIdstring required

The ID of the app entitlement to grant access to.

appIdstring required

The ID of the app that is associated with the entitlement.

appUserIdstring

The ID of the app user to grant access for. This field and identityUserId cannot both be set for a given request.

descriptionstring

The description of the request.

emergencyAccessboolean

Boolean stating whether or not the task is marked as emergency access.

grantDurationstring duration
identityUserIdstring

The ID of the user associated with the app user we are granting access for. This field cannot be set if appUserID is also set.

requestDataobject

Response

The TaskServiceCreateGrantResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array.