Revoke admin privileges from conversation participants

DELETE /api/v1/conversation/{conversation_uuid}/admin
application/json

Body Required

  • participants array[string] Required

    Conversation admins account uuids to revoke admin privileges

DELETE /api/v1/conversation/{conversation_uuid}/admin
curl \
 -X DELETE https://api.plannrcrm.com/api/v1/conversation/conversation_uuid/admin \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 -d '{"participants":["6ddb7822-27bd-4e81-baeb-ec8041e34ce6"]}'
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": [
    "6ddb7822-27bd-4e81-baeb-ec8041e34ce6"
  ]
}