info:
  name: Delete Media Item
  type: http
  seq: 17

http:
  method: DELETE
  url: "{{base_url}}/api/media-items/{{media_item_id}}"
  headers:
    - name: ""
      value: application/json
  auth: inherit

runtime:
  scripts:
    - type: tests
      code: |-
        test_delete_media_item_success(status, headers, body) {
            if (status !== 204) {
              throw new Error("Expected status 204, got " + status);

settings:
  encodeUrl: true
  timeout: 0
  followRedirects: true
  maxRedirects: 5

docs: |-
  ## Delete Media Item
    
    Deletes a media item from the library.
    
    **Method:** DELETE
    
    **Endpoint:** /api/media-items/{id
