Skip to main content

Update environment sort orders

PUT <your-unleash-url>/api/admin/environments/sort-order

Authorization

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

Updates sort orders for the named environments. Environments not specified are unaffected.

Request

Body

required

sortOrderSchema

  • property name* integer

    Sort order for the object whose ID is the key used for this property.

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
{}
curl / cURL
curl -L -X PUT '<your-unleash-url>/api/admin/environments/sort-order' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{}'