Remove a member (static segments)

DELETE/v1/segments/{id}/members/{contactId}

Secret key — sk_… or sk_test_… · Base URL https://api.volanea.com

Marks a contact as exited from a static segment and emits segment.exited.

Static only: membership of a dynamic segment is derived from its conditions, so removing someone by hand would be undone by the next refresh. Attempting it answers 422 — edit the conditions instead.

The contact record is untouched and the same contact can be added back later with POST /v1/segments/{id}/members.

Path parameters

  • idstringrequired

    Segment id.

  • contactIdstringrequired

    Contact id.

Response

Removed.

  • successbooleanrequired

Errors

Every failure returns the standard envelope — branch on `code`, never on the wording of `error`.

  • 401Missing or invalid API key.
  • 404Not found.
  • 422Request validation failed (code `validation_error`, 422).

Request

curl https://api.volanea.com/v1/segments/id_123/members/con_5e90 \
  -X DELETE \
  -H "Authorization: Bearer sk_..."

Response

200 · application/json

{
  "success": true,
  "data": {
    "success": true
  }
}

92 endpoints · OpenAPI document