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": [
"66f71415-b719-4074-98ff-6033c1231eb6",
"772da1c3-3a14-4c6b-a29b-2a3293bfc8f7",
"e6e4dcd0-f7a4-4fab-b229-b33c2eb3ed9b"
]
}'
Request examples
{
"participants": [
"66f71415-b719-4074-98ff-6033c1231eb6",
"772da1c3-3a14-4c6b-a29b-2a3293bfc8f7",
"e6e4dcd0-f7a4-4fab-b229-b33c2eb3ed9b"
]
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}