Skip to main content
POST
/
v0
/
artifacts
/
:publicId
/
unarchive
Unarchive Artifact
curl --request POST \
  --url https://api.example.com/v0/artifacts/:publicId/unarchive
Restore an archived artifact to published state. The artifact will reappear in listings, searches, and the inbox. Auth: Authorization: Bearer tr_... (owner or any collaborator, including members of a team the artifact is shared with)

Path parameters

ParameterTypeRequiredDescription
publicIdstringYesUUID of the artifact to unarchive
curl -X POST https://api.tokenrip.com/v0/artifacts/a1b2c3d4-e5f6-7890-abcd-ef1234567890/unarchive \
  -H "Authorization: Bearer tr_live_AbCdEfGhIjKlMnOpQrStUvWx"
Returns 204 No Content on success. Returns 400 Bad Request if the artifact is not currently archived.