latestOpenAPI 3.0.12026-08-10234260964.0 KB

6cc88fde6435

Runtime Operations

Execute a runtime operation

Execute a runtime operation on a currently deployed environment. This allows you to run one-off commands, such as rebuilding static assets on demand, by defining an operations key in a project's .upsun/config.yaml configuration. More information on runtime operations is available in our user documentation.

post/projects/{projectId}/environments/{environmentId}/deployments/{deploymentId}/operations

Path parameters

projectIdstring required
environmentIdstring required
deploymentIdstring required

Request body

servicestring required

The name of the application or worker to run the operation on

operationstring required

The name of the operation

parametersstring[] required

The parameters to run the operation with

Response

statusstring required

The status text of the response

codeinteger required

The status code of the response