API referenceAgents and workflowsWorkspaces
Rename a workspace
Requires the workspaces:update permission.
AuthorizationBearer <token>
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
id*string
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 PATCH "https://example.com/api/v1/workspaces/string" \ -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"}