The ID of the application to purge the cache for.
An optional array of URL paths to purge (e.g.,
["https://example.com/path1", "https://example.com/path2"]
). If not provided, the cache for all paths under the application’s subdomain or custom domain is purged.Response
Indicates whether the call was successful.
success
if successful, error
if not.Error Responses
Indicates whether the call was successful.
error
if not successful.The error code indicating the reason for failure. Possible values:
UNAUTHORIZED
: The user is not authenticated or lacks sufficient permissions.UNAUTHORIZED_APP
: The specified application does not exist or does not belong to the user.NO_AUTHORIZED_PATHS
: None of the provided paths are valid or belong to the application’s subdomain or custom domain.PURGE_FAILED
: The cache purge operation failed.