application/json

Body Required

  • participants array[string] Required

    Conversation admins account uuids to revoke admin privileges

DELETE /api/v1/conversation/{conversation_uuid}/admin
curl \
 --request DELETE https://api.plannrcrm.com/api/v1/conversation/conversation_uuid/admin \
 --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":["a645fc7c-a3a3-460f-8b17-d3053ad3bd56"]}'
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": [
    "a645fc7c-a3a3-460f-8b17-d3053ad3bd56"
  ]
}