{
"error": {
"code": "UNAUTHENTICATED",
"message": "Sign in to continue."
}
}{
"error": {
"code": "FORBIDDEN",
"message": "This request origin is not allowed."
}
}{
"error": {
"code": "ARTIFACT_NOT_FOUND",
"message": "Artifact was not found."
}
}{
"error": {
"code": "CONTENT_CONFLICT",
"message": "Another replace finished first. Delete again to remove the current artifact."
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred."
}
}{
"error": {
"code": "STORAGE_UNAVAILABLE",
"message": "Object storage is unavailable."
}
}Delete an artifact
Owner only. Deletes the artifact row and the current HTML object. The creator is the only caller who can delete. Organization role is not consulted, so an organization admin who did not create the artifact cannot delete it. A missing id and a caller who is not the creator, including a member who can read an org_shared artifact, return the same 404 as an unknown id. The object for the revision that was read is removed first. The row is deleted only while that creator, revision, and object key are still current. A replace that commits in between keeps its row, and this request reads that row and tries again. A missing object still allows that row delete. After eight attempts that each lose to a newer replace, the response is 409 CONTENT_CONFLICT. Retry DELETE. A storage failure keeps the row. The object may already be gone, so retry DELETE. A public link stops working because the row, including its share token, is gone. Older objects left behind by a failed content replace are not swept. Cookie-authenticated writes need an allowed Origin.
{
"error": {
"code": "UNAUTHENTICATED",
"message": "Sign in to continue."
}
}{
"error": {
"code": "FORBIDDEN",
"message": "This request origin is not allowed."
}
}{
"error": {
"code": "ARTIFACT_NOT_FOUND",
"message": "Artifact was not found."
}
}{
"error": {
"code": "CONTENT_CONFLICT",
"message": "Another replace finished first. Delete again to remove the current artifact."
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred."
}
}{
"error": {
"code": "STORAGE_UNAVAILABLE",
"message": "Object storage is unavailable."
}
}Authorizations
Factrove API key, usually prefixed ftrv_. Send Authorization: Bearer <key>. Product routes do not accept x-api-key as a credential. A present Authorization header that is not a valid key does not fall back to the session cookie.
Path Parameters
Artifact UUID.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Response
The artifact row and its current HTML object are gone. The response has no body.