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":["5ddf17bd-1bf8-4860-a9b3-b54c3c536e21","658ae7d9-8dcb-4a07-b374-d029283d5c30","6f6fe5a2-9a45-4d04-ae04-69085b1df46a"]}'
Request examples
{
"participants": [
"5ddf17bd-1bf8-4860-a9b3-b54c3c536e21",
"658ae7d9-8dcb-4a07-b374-d029283d5c30",
"6f6fe5a2-9a45-4d04-ae04-69085b1df46a"
]
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}