Update/Delete Members of an Adhoc Task

put

/process/api/v1/tasks/{id}/members

User with MANAGE permission can update and delete members of an adhoc task.

Request

Path Parameters
Header Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Example: addMembers(to add the list of members), updateMembers(to update the list of members), deleteAllMembers(to delete all the members), deleteMembers(to delete the list of members)
  • items
  • Default Value: always
    Allowed Values: [ "always", "never", "upgradeOnly", "downgradeOnly", "upgradeonly", "downgradeonly" ]
    Example: always(always add the member's permission), never (skips updating the already present members in list, updates the others), downgradeOnly (update permission if the existing permission is higher than specified), upgradeOnly (update permission if the existing permission is lower than specified)
Nested Schema : items
Type: array
Show Source
Nested Schema : Member
Type: object
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Member(s) Successfully updated
Body ()
Root Schema : UpdateMembersCollection
Match All
Show Source
Nested Schema : CommonModel
Type: object
Show Source
Nested Schema : UpdateMembersCollection-allOf[1]
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Member
Type: object
Show Source
Examples

400 Response

Bad request
Body ()
Root Schema : ErrorMessage
Type: object
Title: ErrorMessage
Defines ErrorMessage
Show Source
Examples

401 Response

Unauthorized

404 Response

Adhoc task ID not found
Body ()
Root Schema : ErrorMessage
Type: object
Title: ErrorMessage
Defines ErrorMessage
Show Source
Examples

429 Response

Too many requests

500 Response

Internal server error
Body ()
Root Schema : ErrorMessage
Type: object
Title: ErrorMessage
Defines ErrorMessage
Show Source
Examples

503 Response

Too many exceptions or too slow requests
Back to Top