PelekaPeleka Developers
API ReferenceAudienceSegments

Remove specific contacts from a static segment

DELETE
/api/v1/segments/{id}/contacts
X-API-Key<token>

In: header

Path Parameters

id*string

Segment UUID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X DELETE "https://example.com/api/v1/segments/string/contacts" \  -H "Content-Type: application/json" \  -d '{    "contactIds": [      "550e8400-e29b-41d4-a716-446655440000"    ]  }'
{  "data": {    "removed": 3  }}