Purge

Purge

post

Creates a Purge job for a CDN resource.

This endpoint is available for Small, Large, VOD, and Dynamic (Aksela) resource types.

Wildcard purge is supported. You can include * in file paths to match multiple objects (for example: /images/* or /images/*.jpg).

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

Organization UUID.

Example: ****-*****-****-****
resource_uuidstringRequired

Resource UUID.

Example: ****-*****-****-*****
Body
resource_uuidstringRequired

Resource UUID (must match the resource_uuid in the path).

Example: ****-****-****-****
file_pathstring[] · min: 1 · max: 100Required

One or more paths to purge. Each entry must be an absolute path starting with /.

Wildcard purge is supported with * (for example: /assets/, /images/.png).

Responses
200

Purge request successfully created.

application/json
post
/api/v1/cdn/{organization_uuid}/job/{resource_uuid}/purge

Last updated

Was this helpful?