Remove participants from a group

DELETE /api/v1/group/{group_uuid}/participants
application/json

Body Required

  • participants array[string] Required

    UUIDs of accounts to remove from the group.

DELETE /api/v1/group/{group_uuid}/participants
curl \
 --request DELETE https://api.plannrcrm.com/api/v1/group/group_uuid/participants \
 --header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 --header "Content-Type: application/json" \
 --header "Accept: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"participants":["1e8c15b5-f97f-4eaa-b278-b2a40f25bb6b","6d3158ae-cf1e-4df0-ace0-fc9a17940e92"]}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "participants": [
    "1e8c15b5-f97f-4eaa-b278-b2a40f25bb6b",
    "6d3158ae-cf1e-4df0-ace0-fc9a17940e92"
  ]
}