How can we help?

Searching:

0 results found

Roles/Post/[roleId]/removeTask

POST odata/roles/[id]/removeTask

Description

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 \

http://api.dev.axonize.com/odata/Roles/9939D515-852A-4CAB-A676-6C214CB09A47/removeTask \

-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”: “http://dev-axonizeapi-axonize.dev-ase-axonize.p.azurewebsites.net/odata/$metadata#Edm.Boolean”,

“value”: true

}