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
NameLocationTypeRequiredDescription
idpathstringYes—
Query parameters
None.
Header parameters
NameLocationTypeRequiredDescription
X-Computer-Agents-OrganizationheaderstringNoActive organization context. If omitted, the authenticated user's personal organization is used.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
enabledbooleanNo—
configurationobjectNo—
configuration.eventsstring[]No—
configuration.branchesstring[]No—
configuration.pathIncludesstring[]No—
configuration.pathExcludesstring[]No—
configuration.agentIdstringNoAgent ID.
configuration.environmentIdstringNoComputer ID.
configuration.instructionsstringNo—
configuration.publishReviewbooleanNo—

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Updated automation bindingapplication/json
FieldTypeRequiredDescription
bindingobjectYes—
binding.idstringYesUnique identifier.
binding.scopeTypeorganization | project | function | web_app | skillYes—
binding.scopeIdstringYes—
binding.organizationIdstringYes—
binding.userIdstringYesUser ID.
binding.createdByUserIdstringYes—
binding.repositoryFullNamestringYes—
binding.githubRepositoryExternalIdstringYes—
binding.githubInstallationExternalIdstringYes—
binding.kindsecurity_scan | pull_request_review | deploy_function | deploy_web_app | sync_skillYes—
binding.enabledbooleanYes—
binding.configurationobjectYes—
binding.configuration.eventsstring[]No—
binding.configuration.branchesstring[]No—
binding.configuration.pathIncludesstring[]No—
binding.configuration.pathExcludesstring[]No—
binding.configuration.agentIdstringNoAgent ID.
binding.configuration.environmentIdstringNoComputer ID.
binding.configuration.instructionsstringNo—
binding.configuration.publishReviewbooleanNo—
binding.createdAtstringYesISO 8601 timestamp.
binding.updatedAtstringYesISO 8601 timestamp.
404Resource not foundapplication/json
FieldTypeRequiredDescription
errorstringNo—
Update a scoped GitHub automation binding
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow