Reorder project environments
post
/v1/secrets/environments/orderRequires admin access to the project. Environments with unknown aliases are skipped.
Request
Authorization
- Authorizationstringheaderrequired
Key in the format
Bearer <API-key>. Create a key on the API keys page.
Query Parameters
- project stringrequired
Project alias
Request body
- Array [
- ]
orderinteger<int64>
Position of the environment in the list
Example:
2slugstringrequired
Environment alias
Example:
production