Update a scoped GitHub automation binding
PATCH
/v1/github/automations/bindings/{id}How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | Yes | — |
Query parameters
None.
Header parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| X-Computer-Agents-Organization | header | string | No | Active organization context. If omitted, the authenticated user's personal organization is used. |
Body schema
Content type: application/json · Required
| Field | Type | Required | Description |
|---|---|---|---|
| enabled | boolean | No | — |
| configuration | object | No | — |
| configuration.events | string[] | No | — |
| configuration.branches | string[] | No | — |
| configuration.pathIncludes | string[] | No | — |
| configuration.pathExcludes | string[] | No | — |
| configuration.agentId | string | No | Agent ID. |
| configuration.environmentId | string | No | Computer ID. |
| configuration.instructions | string | No | — |
| configuration.publishReview | boolean | No | — |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Updated automation bindingapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| binding | object | Yes | — |
| binding.id | string | Yes | Unique identifier. |
| binding.scopeType | organization | project | function | web_app | skill | Yes | — |
| binding.scopeId | string | Yes | — |
| binding.organizationId | string | Yes | — |
| binding.userId | string | Yes | User ID. |
| binding.createdByUserId | string | Yes | — |
| binding.repositoryFullName | string | Yes | — |
| binding.githubRepositoryExternalId | string | Yes | — |
| binding.githubInstallationExternalId | string | Yes | — |
| binding.kind | security_scan | pull_request_review | deploy_function | deploy_web_app | sync_skill | Yes | — |
| binding.enabled | boolean | Yes | — |
| binding.configuration | object | Yes | — |
| binding.configuration.events | string[] | No | — |
| binding.configuration.branches | string[] | No | — |
| binding.configuration.pathIncludes | string[] | No | — |
| binding.configuration.pathExcludes | string[] | No | — |
| binding.configuration.agentId | string | No | Agent ID. |
| binding.configuration.environmentId | string | No | Computer ID. |
| binding.configuration.instructions | string | No | — |
| binding.configuration.publishReview | boolean | No | — |
| binding.createdAt | string | Yes | ISO 8601 timestamp. |
| binding.updatedAt | string | Yes | ISO 8601 timestamp. |
404Resource not foundapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
Update a scoped GitHub automation binding
Loading...
Response 200
Loading...