Skip to main content

Update segment by id

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

Authorization

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

Updates the content of the segment with the provided payload. Any fields not specified will be left untouched.

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 PUT '<your-unleash-url>/api/admin/segments/:id' \
-H 'Authorization: <API_KEY_VALUE>'