Files
bookhoard/bruno-yaml/library/Delete Library Folder.yml
T

30 lines
667 B
YAML

info:
name: Delete Library Folder
type: http
seq: 4
http:
method: DELETE
url: '{{base_url}}/api/libraries/{{library_id}}/folders'
auth: inherit
body:
type: json
json:
folder_path: /path/to/folder
headers:
- key: Content-Type
value: application/json
runtime:
scripts:
- type: tests
code: "test_delete_library_folder_success(status, headers, body) {\n if (status\
\ !== 204) {\n throw new Error(\"Expected status 204, got \" + status);"
docs: |-
## Delete Library Folder
Removes a folder from a library's scanning configuration.
**Method:** DELETE
**Endpoint:** /api/libraries/{id