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

28 lines
585 B
YAML

info:
name: Delete Library
type: http
seq: 3
http:
method: DELETE
url: '{{base_url}}/api/libraries/{{library_id}}'
auth: inherit
body:
type: none
headers:
- key: Content-Type
value: application/json
runtime:
scripts:
- type: tests
code: "test_delete_library_success(status, headers, body) {\n if (status !==\
\ 204) {\n throw new Error(\"Expected status 204, got \" + status);"
docs: |-
## Delete Library
Deletes a library and all associated media items.
**Method:** DELETE
**Endpoint:** /api/libraries/{id