ByteChef LogoByteChef
OpenapiProjects

Deploy a new code based project

Deploy a new code based project.

POST
/projects/deploy

Query Parameters

enable?boolean

Whether to make the published project live in the environment: create and enable its deployment when it has none there, otherwise move the existing one to the published version and enable it.

Defaultfalse

Header Parameters

X-Environment?string

The environment.

Value in

  • "DEVELOPMENT"
  • "STAGING"
  • "PRODUCTION"

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/projects/deploy" \  -F workspaceId="0" \  -F projectFile="string"
Empty

How is this guide?