Agent

Update a patch record

Update an existing patch record with a PR link or pull request status. Use this after creating a PR externally to link it back to the patch.

post/api/v2/agent/updatePatch

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring

Organization ID (injected by MCP server)

patchIdstring uuid required

ID of the patch to update

prLinkstring

URL of the created pull request

pullRequestStatus'PENDING' | 'ACCEPTED' | 'DENIED'

Status of the pull request

Response

Patch record updated

Changes

No recorded changes to this operation across all 1 revision of this API.