Delete User File

Changed on

Soft delete — flips deleted_at and decrements ref_count. A future janitor task will GC blobs whose ref_count drops to 0 and prune the soft-deleted rows after some grace period.

delete/api/files/{file_id}

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/files/{file_id}
  • Auth: none declared

Path parameters

file_idstring required

Headers

authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable

Response

Successful Response

object required

Changes

    • info

      added the new optional header request parameter x-omicos-device

    • info

      added the new optional header request parameter x-omicos-device-kind

    • info

      added the new optional header request parameter x-omicos-device-name