Remove a participant from a workflow task Run in API Explorer
Ask AI
DELETE
/api/v1/workflow/{workflow_uuid}/task/{workflowTask_uuid}/participants
curl \
--request DELETE 'https://api.plannrcrm.com/api/v1/workflow/6ff8f7f6-1eb3-3525-be4a-3932c805afed/task/6ff8f7f6-1eb3-3525-be4a-3932c805afed/participants' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"participants":["e7bf20df-c206-4938-9452-5a9973d7f096","e11ff44e-f424-4692-a7db-64ff5df2bb8f","921fffc7-cd6b-4cc7-9938-d012a8d0392f"]}'
Request examples
{
"participants": [
"e7bf20df-c206-4938-9452-5a9973d7f096",
"e11ff44e-f424-4692-a7db-64ff5df2bb8f",
"921fffc7-cd6b-4cc7-9938-d012a8d0392f"
]
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}