Delete a file

View as Markdown

Deletes the file and its derived objects/artifacts; responds 204 with no body. Returns 404 if the file does not belong to :spaceId (cross-space deletes are hidden). Authorization: requires space:contribute on :spaceId (missing permission → 403; org admins bypass).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

spaceIdstringRequired
fileIdstringRequired

Response

File and its derived objects deleted (no body)