Delete File by Id
DELETE/api/workspaces/:workspace_id/files/:id/
Delete a file by its id.
Request
Path Parameters
workspace_id stringrequired
id integerrequired
A unique integer value identifying this field file.
- application/json
Body
required
editor_session uuid
UUID of the editor session. This field is only required when used from public endpoints.
Responses
- 204
- 401
- 403
Deleted successfully.
No authentication found or authentication is not correct.
Specified path is not allowed
Permission evaluation:
((Is Authenticated Organization Admin OR Workspace Context Permission) OR Public Permission) AND Is Not App
Descriptions:
Is Authenticated Organization Admin
: User must be an Organization Admin.
Public Permission
: Checks corresponding workspace is public.
Workspace Context Permission
: Workspace must be available to the User.
Is Not App
: Client must not be a VIKTOR app.
Loading...