Sample - GitHub REST API
POST/orgs/{org}/attestations/delete-request

Delete attestations in bulk

Deletes artifact attestations in bulk for an organization. Submit either subject_digests or attestation_ids, but not both, with between 1 and 1024 values in the selected array. A 404 response indicates that the organization or requested attestations were not found.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter · 1 body field
orgstringrequired
The organization name associated with the attestations; matching is not case-sensitive.

Bulk attestation deletion request containing either subject digests or attestation IDs, but not both.

subject_digestsarray<string>required
List of subject digests associated with the artifact attestations to delete.

2 status codes
200Returns a response confirming that the requested artifact attestations were deleted.
404Returned when the organization or requested artifact attestations do not exist.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned when the organization or requested attestations cannot be found. Include exactly one of subject_digests or attestation_ids, and provide between 1 and 1024 values in the selected array.