Refresh Disk Usage for all installs associated with account
POST /accounts/{account_id}/usage/refresh_disk_usage
Triggers an asynchronous job to recalculate the disk usage of installs associated with a specific account.
This endpoint initiates the refresh process and returns immediately with a success status. It does not return the updated usage data.
To check the status of the job and view the new data once it’s available, you must poll the GET /accounts/{account_id}/usage endpoint. A successful request will populate the account_storage_refresh_expected_time attribute in that endpoint’s response, indicating when the data is expected to be fresh.
Multiple requests for the same environment will result in a single recalculation.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The unique identifier (UUID) of the account.
Responses
Section titled “ Responses ”OK. The disk usage refresh has been successfully initiated. The response body for this request is always null.
Bad Request
Authentication Error
object
A message regarding the error that occurred on the server
Example
Bad Credentials(Optional) A URL where documentation regarding this specific error can be found
Not Authorized
object
A message regarding the error that occurred on the server
Example
You don't have permission to perform that action(Optional) A URL where documentation regarding this specific error can be found
Not Found. The account with the specified UUID could not be found.
object
A message regarding the error that occurred on the server
Example
Not Found(Optional) A URL where documentation regarding this specific error can be found
Too many requests
Internal server error
An invalid response was received from an upstream server
Service unavailable
default
Section titled “default ”An unexpected error occurred.
object
A message regarding the error that occurred on the server
Example
An unexpected error occurred, please try again in a few minutes