---
title: "Delete attestations in bulk"
method: POST
path: "/orgs/{org}/attestations/delete-request"
tags: ["orgs"]
---

# Delete attestations in bulk

`POST /orgs/{org}/attestations/delete-request`

Delete artifact attestations in bulk by either subject digests or unique ID.

## Path parameters

- `org` string, required

## Request body

- union — The request body must include either `subject_digests` or `attestation_ids`, but not both.
  - object
    - `subject_digests` string[], required — List of subject digests associated with the artifact attestations to delete.
  - object
    - `attestation_ids` integer[], required — List of unique IDs associated with the artifact attestations to delete.

## Response `200`

Response

## Other responses

- `404` — Resource not found

---

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