Skip to main content
DELETE
/
api
/
v1
/
files
/
{file_id}
Delete file
curl --request DELETE \
  --url https://api.uplint.dev/api/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "SUCCESS",
  "message": "File deleted",
  "data": {
    "file_id": "6612f1a2c3b4d5e6f7890abc",
    "deleted": true
  },
  "timestamp": "2026-02-10T12:00:00Z"
}

Authorizations

Authorization
string
header
required

Pass an API key or JWT token. API keys can be sent as Authorization: Bearer <key> or Authorization: <key>.

Path Parameters

file_id
string
required

The file's unique identifier.

Response

File deleted.

status
enum<string>
Available options:
SUCCESS
message
string
data
object
timestamp
string<date-time>