Skip to main content
DELETE
/
platform
/
files
/
{fileId}
Delete file
curl --request DELETE \
  --url https://api.rootkey.ai/api-v1/platform/files/{fileId} \
  --header 'x-api-key: <api-key>'
{
  "chainId": 137
}

Authorizations

x-api-key
string
header
required

ROOTKey API key (rk_live_... for production, rk_test_... for the test network).

Path Parameters

fileId
string
required

Query Parameters

ownerAddress
string
required

Blockchain address of the vault that owns the file

Response

File deleted

chainId
number

Polygon chain ID (137 in production, 80002 on Amoy testnet)

Example:

137