CDNs

Creates a CDN cache purge request

Creates a request to purge cached content from the CDN for the specified environment.

Resource Types (specified in the request body):

  • urls - Purge specific URLs
  • tags - Purge by cache tags
  • domains - Purge entire domains
  • everything - Purge all content in the environment
post/environments/{environmentId}/actions/purge-cdn

Request

Path parameters

environmentIdstring required

The unique identifier of the environment.

Request body

resource_type'tags' | 'urls' | 'domains' | 'everything' required

The type of resource to purge.

valuesstring[]

List of values to purge based on the resource type. Required when resource_type is not everything.

Response

Accepted - Purge request submitted

_embeddedobject

Embedded resources (optional)

message'The purge request has been submitted.' required

Confirmation message

Example response

{
  "_links": {
    "self": {
      "href": "https://api.acquia.com/v3/resources/1"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.