Skip to main content

Validate project ID

POST <your-unleash-url>/api/admin/projects/validate

Authorization

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

Validate a project ID against Unleash's rules

Request

Body

required

validateProjectSchema

  • id string required

    The project ID to validate

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
Body required
{
"id": "new-project-id"
}
curl / cURL
curl -L -X POST '<your-unleash-url>/api/admin/projects/validate' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"id": "new-project-id"
}'