POST
/
ops
/
delete-orphans
Deletes orphaned files
curl --request POST \
  --url https://{subdomain}.storage.{region}.nhost.run/v1/ops/delete-orphans \
  --header 'X-Hasura-Admin-Secret: <api-key>'
{
  "files": [
    "<string>"
  ]
}

Authorizations

X-Hasura-Admin-Secret
string
header
required

Hasura admin secret key for backend/administrative operations.

Response

Successfully deleted orphaned files

files
string[]