Skip to main content

Deletes a segment by id

DELETE <your-unleash-url>/api/admin/segments/:id

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Deletes a segment by its id, if not found returns a 409 error

Request

Path Parameters

  • id string required
Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
id — path required
curl / cURL
curl -L -X DELETE '<your-unleash-url>/api/admin/segments/:id' \
-H 'Authorization: <API_KEY_VALUE>'