You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
798 B
YAML
31 lines
798 B
YAML
delete:
|
|
tags:
|
|
- files
|
|
summary: delete uploaded file
|
|
description: This operation deletes a file uploaded to NodeBB
|
|
requestBody:
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
path:
|
|
type: string
|
|
description: Path to the file (relative to the configured `upload_path`)
|
|
example: files/test.txt
|
|
required:
|
|
- path
|
|
responses:
|
|
'200':
|
|
description: File deleted
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
$ref: ../components/schemas/Status.yaml#/Status
|
|
response:
|
|
type: object
|
|
properties: {} |