Promote a pipeline preview application to the next stage.
curl --request POST \ --url https://api.sevalla.com/v2/applications/promote \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "source_app_id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1", "target_app_ids": [ "14fb80af-576c-4fdc-ba4f-b596c83f15a1" ] }'
{ "promote": [ { "target_app_id": "14fb80af-576c-4fdc-ba4f-b596c83f15a1", "deployment_id": "34fb80af-576c-4fdc-ba4f-b596c83f15a1" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
App promoted successfully
The response is of type object.
object
Was this page helpful?