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

Delete attestations in bulk

Deletes artifact attestations in bulk by subject digest or unique attestation ID. Provide one of subject_digests or attestation_ids to identify the attestations to remove, but not both. A 200 response confirms the bulk deletion request was processed.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter · 1 body field
orgstringrequired
The organization name. The name is not case sensitive.

Bulk deletion criteria. Provide either subject_digests or attestation_ids, but not both; the selected array must contain 1 to 1024 items.

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

2 status codes
200Returns a response confirming the bulk attestation deletion request was processed.
404Returned when the organization or a targeted attestation resource cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned when the organization or targeted attestations cannot be found. The org path parameter identifies the organization. Provide exactly one of subject_digests or attestation_ids; the selected array must contain 1 to 1024 items.