Hard-delete artifact
DELETE/projects/:projectPid/artifacts/:artifactPid
Permanently deletes the artifact row and cleans up its extracted-text media. Returns 409 when the artifact is cited by any assessment — cited evidence may only be archived via archiveArtifact, never destroyed. Requires project access; returns 404 when the project or artifact is unknown or not visible.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 422
- 503
air/UnauthorizedError
air/ForbiddenError
NotFound
Conflict
air/SchemaValidationError
air/AuthUnavailableError