Files

Delete file

Deletes a completed REST API file owned by the authenticated account. Deletion is blocked while active saved projects reference the file, and fails closed when any plausible active project has not indexed file references yet.

delete/api/v1/files/{file_id}

Request

  • Base URL: https://api.studio.kaitoi.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.studio.kaitoi.io/api/v1/files/{file_id}
  • Auth: HTTP bearer

Path parameters

file_idstring required

Query parameters

externalUserIdstring nullable

Optional developer-user guard. When provided, the file is deleted only if its stored externalUserId matches this value.

Headers

authorizationstring nullable

Response

File deleted.

Changes

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