Delete an artifact
DELETEhttps://platform.docana.com/api/v1/artifacts/:artifactId/
A soft delete: the document backing the artifact is marked ARCHIVED, which hides the artifact from listings and lookups. Failures answer 500 with { success: false, error } instead of the standard error shape.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The artifact was deleted
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
An interface artifact the user can open but not delete: another member's, without delete permission on its collection
No artifact the user can see has this id, or it is an interface in a collection the user cannot open
The deletion failed