Skip to main content

Reorder project environments

post/v1/secrets/environments/order

Requires 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: 2
    slugstringrequired

    Environment alias

    Example: production
  • ]

Response