Recalculate storage usage from Cloud Storage

posthttps://api.expiryedge.com/v1/recalculateStorage
admin60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/recalculateStorage' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "success": true,
  "message": "Storage recalculated",
  "total_bytes": 54525952,
  "total_formatted": "52 MB"
}

Scans the organization's files in Cloud Storage and overwrites the storage counter. Slow for large organizations.

Rückgabe

200
Recalculated usage.
  • successboolean
  • messagestring
  • total_bytesinteger
  • total_formattedstring

Fehler

401
Missing, expired or invalid bearer token.
403
Authenticated, but your role or organization does not allow this action.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.