Files

Bulk delete files

Delete multiple files owned by the authenticated account. Available on Starter and Pro plans. Unknown or non-owned IDs are not deleted and are returned in not_deleted_file_ids.

post/v1/files/bulk-delete

Request

  • Base URL: https://filepost.dev (the document declares no server; this is the origin it was published from)
  • URL: https://filepost.dev/v1/files/bulk-delete
  • Auth: none declared

Headers

X-API-Keystring nullable

Request body

file_idsstring[] required

FilePost file IDs to delete. Unknown or non-owned IDs are ignored and returned as not_deleted_file_ids.

Example request

{
  "file_ids": [
    "abc123def456",
    "def456abc123"
  ]
}

Response

Successful Response

deletedboolean required
deleted_countinteger required
deleted_file_idsstring[] required
not_deleted_file_idsstring[] required
errorsobject[] required
db_errorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.