---
title: "DELETE /workflows/github"
method: DELETE
path: "/workflows/github"
tags: ["workflows"]
---

# DELETE /workflows/github

`DELETE /workflows/github`

Handles the deletion of a branch on GitHub. Will delete all workflow versions that match in all workflows that share the same repository.

## Query parameters

- `repository` string, required
- `username` string, required
- `gitReference` string, required
- `installationId` integer

## Headers

- `X-GitHub-Delivery` string, required

## Other responses

- `418` — This code tells AWS Lambda not to retry.

---

[API](https://skmtc.net/dockstore/apis/dockstore-api.md) · [All operations](https://skmtc.net/dockstore/apis/dockstore-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dockstore/dockstore-api/versions/9d82a4e96aa7/schema)
