curl --request POST \ --url https://{subdomain}.storage.{region}.nhost.run/v1/ops/list-orphans \ --header 'X-Hasura-Admin-Secret: <api-key>'
Copy
Ask AI
{ "files": [ "<string>" ]}
Storage
listOrphanedFiles
Orphaned files are files that are present in the storage but have no associated metadata. This is an admin operation that requires the Hasura admin secret.
POST
/
ops
/
list-orphans
Lists orphaned files
Copy
Ask AI
curl --request POST \ --url https://{subdomain}.storage.{region}.nhost.run/v1/ops/list-orphans \ --header 'X-Hasura-Admin-Secret: <api-key>'