Dashboard

Segments

Auth Required

Remove Members

DELhttps://api.inboxjot.com/v1/segments/{segment_id}/members

Removes contacts from a static segment. The contacts are not deleted. Needs a Full key. A key limited to one domain answers 403. Send an optional Idempotency-Key header to retry safely. See Idempotency.

DELETE/v1/segments/{segment_id}/members
curl -X DELETE https://api.inboxjot.com/v1/segments/seg_06d2mfk8r2kd7fq4mx9ab/members \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contact_ids": [
      "con_06d2mfk8r9wq3zh5ka2pe"
    ]
  }'
{
  "removed": 1
}

Removed the members.

Path Parameters

segment_idstringrequired

The segment id.

Body Parameters

contact_idsstring[]required

1 to 1,000 contact ids.

Response

removedinteger

How many contacts were removed.

Responses

DELETE/v1/segments/{segment_id}/members
curl -X DELETE https://api.inboxjot.com/v1/segments/seg_06d2mfk8r2kd7fq4mx9ab/members \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contact_ids": [
      "con_06d2mfk8r9wq3zh5ka2pe"
    ]
  }'
{
  "removed": 1
}

Removed the members.