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":["5fdfa32e-014e-4977-9fc5-85768265a403"]}'
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": [
    "5fdfa32e-014e-4977-9fc5-85768265a403"
  ]
}