How can we help?


0 results found


POST odata/roles/[id]/removeTask


Removes a Task from a specific Role.

See the following for request and response details ‒

See Also

Request ‒ Roles/Post/[roleId]/removeTask

Property Type Description
id String This is the unique identifier automatically assigned by Axonize when a Role is created. This id is returned in the response of the Roles/Post.
tasks String Specifies the task ids to remove from the Role.

Example JSON Roles/Post/[roleId]/removeTask Request

curl -X POST \ \

-H ‘Accept: application/json, text/plain, */*’ \

-H ‘Accept-Language: en-US,en;q=0.9’ \

-H ‘Content-Type: application/json’ \

-H ‘appId: 1aaf017c-b987-4f53-94d6-ad9afb8e4767’ \

-H ‘cache-control: no-cache’ \

-d ‘{“tasks”:[“15B8BC56-81ED-402E-95CA-3842BBA386BD”]}’

Response ‒ Roles/Post/[roleId]/removeTask

The response that is returned contains the following property –

Property Type Description
value Boolean Indicates whether or not the operation succeeded.

Example JSON Roles/Post/[roleId]/removeTask Response

Status 200 – OK


“@odata.context”: “$metadata#Edm.Boolean”,

“value”: true