API referenceEnvironments
Promote variables to another environment
POST
cookie
lb_session<token>Dashboard session cookie, set by the sign-in endpoints.
org*stringOrganization slug
project*stringProject slug
env*stringEnvironment slug
application/json- body
to*stringkeys*array<string>Items
1 <= itemsOK
application/json- response
revision*number|nullcurl -X POST "https://example.com/v1/orgs/string/projects/string/environments/string/promote" \ -H "Content-Type: application/json" \ -d '{ "to": "string", "keys": [ "string" ] }'{ "revision": 0}