Enable (or retry) CI/CD on the workspace; optional deploy_server_id binds the deploy server when the workspace has none yet
Requires the workspaces:cicd permission.
An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/workspaces/string/cicd/enable" \ -H "Content-Type: application/json" \ -d '{}'{ "ci_enabled": true, "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109", "coolify_app_uuid": "string", "created_at": "2019-08-24T14:15:22Z", "default_branch": "string", "deploy_server_id": "adf24353-fcad-45a1-94e5-acbfd60159e5", "flavor": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "last_deploy_at": "2019-08-24T14:15:22Z", "last_deploy_sha": "string", "last_error": "string", "last_seen_sha": "string", "live_url": "string", "name": "string", "repo_full_name": "string", "repo_private": true, "repo_url": "string", "status": "string", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "updated_at": "2019-08-24T14:15:22Z", "webhook_registered": true, "wp_site_name": "string"}Disable the workspace's push-triggered CI/CD (the Coolify app stays; re-enable resumes) POST
Previous Page
Read the RUNNING app's container log — use this when the build succeeded but the site errors (500s, crash loops). Query: app=backend|storefront (a store has two; defaults to the storefront, which is what visitors hit), lines=1..1000 (default 200). This is the runtime log; for a build that FAILED read the deployments log instead. GET
Next Page