Skip to content

Delete attestations in bulk

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

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

API method documentation

org
required
string

The organization name. The name is not case sensitive.

Media type application/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>
>= 1 items <= 1024 items
Examples

Delete by subject digests

{
"subject_digests": [
"sha256:abc123",
"sha512:def456"
]
}

Response

Resource not found

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}