Skip to content

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
[
]

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.