Skip to main content
POST
/
projects
/
{projectId}
/
environments
/
{environmentId}
/
source-operation
Trigger a source operation
curl --request POST \
  --url {schemes}://api.upsun.com/projects/{projectId}/environments/{environmentId}/source-operation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "operation": "<string>",
  "variables": {}
}
'
{
  "status": "<string>",
  "code": 123
}

Authorizations

Authorization
string
header
required

Path Parameters

projectId
string
required
environmentId
string
required

Body

application/json
operation
string
required

The name of the operation to execute

variables
Variables · object
required

The variables of the application.

Response

default - application/json
status
string
required

The status text of the response

code
integer
required

The status code of the response