Skip to main content

Validates if a segment name exists

POST 

https://us.app.unleash-hosted.com/ushosted/api/admin/segments/validate

Uses the name provided in the body of the request to validate if the given name exists or not

Request

Body

required

nameSchema

    name stringrequired

    The name of the represented object.

    Example: betaUser

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L 'https://us.app.unleash-hosted.com/ushosted/api/admin/segments/validate' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"name": "betaUser"
}'
Request Collapse all
Base URL
https://us.app.unleash-hosted.com/ushosted
Auth
Body required
{
  "name": "betaUser"
}
ResponseClear

Click the Send API Request button above and see the response here!