Files

Delete File

Deletes a previously uploaded file.

delete/v1/files/{file_id}

Request

  • Base URL: https://api.moonshot.ai
  • URL: https://api.moonshot.ai/v1/files/{file_id}
  • Auth: HTTP bearer

Path parameters

file_idstring required

The file identifier

Response

Deletion result

idstring required

Deleted file identifier

objectstring required
deletedboolean required

Whether the file was deleted successfully

Example response

{
  "object": "file"
}

Changes

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