DELETE
/users/{username}/attestations/digest/{subject_digest}Delete attestations by subject digest
Deletes artifact attestations associated with a subject digest for a GitHub user account. Use username and subject_digest to identify the account and the attestation subject; a successful response confirms the deletion.
usernamestringrequired
The handle for the GitHub user account whose attestation you want to delete.
subject_digeststringrequired
The digest identifying the subject of the attestation to delete.
200Returns a response confirming the attestation was deleted.
204Returns no response body and confirms the attestation was deleted.
404Returned when the requested resource is not found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
Error handling
A 404 is returned when the user account or an attestation for the specified subject digest cannot be found. The username path parameter must identify the GitHub user account, and the subject_digest path parameter must identify the attestation subject.