site-file
Delete a site file
Permanently delete a site file, scoped to the partner the API key belongs to. This matches what deleting a file in the portal does: both the file record and the stored bytes are removed, and neither can be restored afterwards. Returns 404 if the site or the file does not exist, or is not accessible to the partner. Requires the siteFile:write scope.
DELETE
Delete a site file
Authorizations
Send the API key in the x-api-key header.
Path Parameters
Site id the files belong to.
Site id. Newer ids are ovaid-<uuid>; legacy sites may have bare (e.g. numeric) ids.
Minimum string length:
1Example:
"ovaid-2b6d4d8e-9f1a-4b2c-8d4e-5f6011223344"
Site file id.
Example:
"9f1a2b3c-4d5e-4f60-8a1b-2c3d4e5f6071"
Response
Site file deleted