# Delete several media files (/en/reference/media/bulk-delete-media)

OpenAPI operation (components in https://api.tebar.app/v1/openapi.json):

```json
[
  {
    "operationId": "bulkDeleteMedia",
    "tags": [
      "Media"
    ],
    "summary": "Delete several media files",
    "description": "Up to 100 ids. Each is deleted as DELETE /v1/media/{id} would. Files used by an unfinished post are left and listed in in_use, unknown ids in not_found; the rest are deleted.\n\nRequires the write scope.",
    "parameters": [
      {
        "$ref": "#/components/parameters/TebarProfile"
      }
    ],
    "requestBody": {
      "required": true,
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/BulkDeleteMediaRequest"
          }
        }
      }
    },
    "responses": {
      "200": {
        "description": "What happened to each id.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BulkDeleteMedia"
            }
          }
        }
      },
      "400": {
        "$ref": "#/components/responses/BadRequest"
      },
      "401": {
        "$ref": "#/components/responses/Unauthorized"
      },
      "403": {
        "$ref": "#/components/responses/Forbidden"
      },
      "429": {
        "$ref": "#/components/responses/RateLimited"
      }
    }
  }
]
```