Return the list of permissions available on a task
Returns the list of actions the current user is allowed to perform on the specified task, such as completing or deleting it.
ID of the task
Unique action identifier
Unique action identifier. Search for results that match any of the specified values for this parameter.
Action name
Action name. Search for results that contain the specified characters in this parameter.
Determines if one has permissions to perform action
Determines if the given action is available considering the current object state (locked, deleted, etc.).
With parameters
Determines the detail level of the response body.
Task permissions retrieved successfully.
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/permissions/task/:task_id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
task_id = "VALUE" # ID of the task
url = f"https://{{instance}}.kiteworks.com/rest/permissions/task/{task_id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())