DELETE /files
Delete Files
DELETE
/files
Delete one or more named files from an entity's file bucket.
Validates the target entity via verify_target_data, then deletes each
filename from {bucket}/{object_key}/{subfolder}/. Returns 404 for the
first missing file encountered.
Emits: (direct transaction — no event class)
Required scope: attachment:file:delete
Request Body
application/json
JSON "filenames": [ "string" ], "bucket": "string", "object_key": "string", "subfolder": "string"
{
}
Responses
Successful Response
application/json
JSON
[
]