terminateRepoBranchExtensionWorkflowRun
Stop a workflow run that the extension started on a branch and answer it terminated, as terminateRepoExtensionInstallationWorkflowRun does.
POST
/repos/{repo_id}/branches/{branch}/extensions/{name}/workflow-runs/{run_id}/terminatePath parameters
Returns
200
ExtensionWorkflowRun
JSON
400
InvalidRequest
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
ExtensionNotFound | ExtensionWorkflowRunNotFound | RepoNotFound
JSON
One of the following:
- ExtensionNotFoundEncoded
- ExtensionWorkflowRunNotFoundEncoded
- RepoNotFoundEncoded
409
ExtensionWorkflowRunFinished
503
RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- RepoBusyEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded