Skip to main content
GET
/
api
/
admin
/
orphaned-files
Scan for orphaned files
curl --request GET \
  --url https://api.propops.app/api/admin/orphaned-files \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Operation completed successfully",
  "data": [
    {
      "path": "<string>",
      "size": 123,
      "modified_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total_size": 123,
  "total_count": 123
}

Authorizations

Authorization
string
header
required

All API requests must include a valid Bearer token in the Authorization header. Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.

Example:

Authorization: Bearer a1b2c3d4e5f6...

Query Parameters

action
enum<string>
Available options:
scan

Response

Orphaned files report

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"

data
object[]
total_size
integer
total_count
integer