Blob
delete/blob

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/blob
  • Auth: HTTP bearer

Request body

pathnamesstring[] required

Pathnames to delete (relative to project)

projectIdinteger nullable

Project ID (required for API key/session auth, optional for deployment tokens)

Example request

{
  "pathnames": [
    "images/avatar.png",
    "documents/file.pdf"
  ],
  "projectId": 1
}

Response

Blobs deleted successfully

deletedinteger required

Number of blobs deleted

Example response

{
  "deleted": 2
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status