Refresh disk usage for the given WordPress site environment
POST /installs/{install_id}/usage/refresh_disk_usage
Triggers an asynchronous job to recalculate the disk usage for the given WordPress site environment.
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 for daily usage metrics at GET /installs/{install_id}/usage. The estimated time of completion can be viewed in daily usage metrics as the storage_refresh_expected_time field. If the field is null, the job has already completed.
The last time storage was refreshed can be viewed in the storage_update_time field of daily usage metrics.
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 UUID of the install.
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
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
object
A message regarding the error that occurred on the server
Example
An unexpected error occurred, please try again in a few minutesAn invalid response was received from an upstream server
Service unavailable
default
Section titled “default ”An unexpected error response.
object
A message regarding the error that occurred on the server
Example
An unexpected error occurred, please try again in a few minutes