Delete attestations in bulk
POST
/orgs/{org}/attestations/delete-request
Delete artifact attestations in bulk by either subject digests or unique ID.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
The organization name. The name is not case sensitive.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
One of:
The request body must include either subject_digests or attestation_ids, but not both.
object
subject_digests
required
List of subject digests associated with the artifact attestations to delete.
Array<string>
The request body must include either subject_digests or attestation_ids, but not both.
object
attestation_ids
required
List of unique IDs associated with the artifact attestations to delete.
Array<integer>
Examples
Delete by subject digests
{ "subject_digests": [ "sha256:abc123", "sha512:def456" ]}Delete by attestation IDs
{ "attestation_ids": [ 111, 222 ]}Responses
Section titled “Responses”Response
Resource not found
Media typeapplication/json
Basic Error
Basic Error
object
message
string
documentation_url
string
url
string
status
string
Examplegenerated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}