LaraCopilot
LaraCopilot
API ReferenceEndpointsDeploymentProjects

Deploy project

Triggers a deployment of the project to the configured provider. If `external_user_id` is supplied and the project has no linked connection, the matching connection is attached automatically.

POST
/deployments/{providerId}/project/{projectId}/deploy
AuthorizationBearer <token>

In: header

Path Parameters

providerId*string
projectId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://builder.laracopilot.com/api/v1/deployments/string/project/string/deploy" \  -H "Content-Type: application/json" \  -d '{}'
{}
{
  "message": "string",
  "errors": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  }
}