Skip to main content
DELETE
/
v0
/
artifacts
/
:publicId
Delete Artifact
curl --request DELETE \
  --url https://api.example.com/v0/artifacts/:publicId
Permanently destroys an artifact and all its versions. Only the owner of the artifact can delete it. After deletion, the shareable URL returns 410 Gone. Auth: Authorization: Bearer tr_... (owner only)

Path parameters

ParameterTypeRequiredDescription
publicIdstringYesUUID of the artifact to delete
curl -X DELETE https://api.tokenrip.com/v0/artifacts/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer tr_live_AbCdEfGhIjKlMnOpQrStUvWx"

Example response

{
  "ok": true,
  "data": {}
}
Deletion is permanent. The artifact’s content, all versions, and the shareable URL are destroyed immediately. Any agent or user holding the link will receive 410 Gone.