Skip to main content
POST
/
segments
/
{id}
/
remove
Remove entity from segment
curl --request POST \
  --url https://api.wacht.dev/segments/{id}/remove \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "entity_id": "1234567890123456789"
}
'
{}

Authorizations

Authorization
string
header
required

API key authentication (format: Bearer {api_key})

Path Parameters

id
string
required

Segment ID

Body

application/json
entity_id
string
required

Entity ID to assign/remove

Example:

"1234567890123456789"

Response

200 - application/json

Entity removed from segment

The response is of type object.