Skip to main content
DELETE
/
segments
/
{segment_id}
Delete a segment
curl --request DELETE \
  --url https://api.qonversion.io/v4/segments/{segment_id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "type": "request",
    "code": "<string>",
    "message": "<string>",
    "details": [
      {
        "field": "<string>",
        "message": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication using the project Secret Key (prefixed with sk_, or test_sk_ for sandbox). All v4 public endpoints require the Secret Key — see Authentication. Never expose the Secret Key in client-side code.

Path Parameters

segment_id
string
required

Segment identifier.

Response

Segment deleted