Remove clients from a case Run in API Explorer
Ask AI
DELETE
/api/v1/cases/{case_uuid}/participants
curl \
--request DELETE 'https://api.plannrcrm.com/api/v1/cases/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": [
"e5a7b920-090c-4c6f-9ad5-f27d0391483f",
"9947d7cd-8c83-4f73-8ec1-800dd107d3d9",
"e29b875c-cec0-47fa-a80f-0cb616a6c3bf"
]
}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"participants": [
"e5a7b920-090c-4c6f-9ad5-f27d0391483f",
"9947d7cd-8c83-4f73-8ec1-800dd107d3d9",
"e29b875c-cec0-47fa-a80f-0cb616a6c3bf"
]
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}