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" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{
"participants": [
"0f8fff1a-1d0b-4524-98cd-b301de58b587",
"3e5c472a-19c3-4ddd-8e4e-93310bc558a8",
"7c56411e-a435-4914-b6ed-ebde55494146"
]
}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"participants": [
"0f8fff1a-1d0b-4524-98cd-b301de58b587",
"3e5c472a-19c3-4ddd-8e4e-93310bc558a8",
"7c56411e-a435-4914-b6ed-ebde55494146"
]
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}