Skip to main content
DELETE
Delete cache entries

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

Query Parameters

pattern
string
required

Glob pattern over keys. Required; * deletes every entry in the project cache.

Required string length: 1 - 512
Pattern: ^[a-zA-Z0-9_:.*\-/]+$

Response

How many entries were deleted.

Result of deleting every cache entry that matches a pattern.

ok
enum<boolean>
required
Available options:
true
pattern
string
required

Deprecated: use ok. Pattern that selected the entries.

status
enum<string>
required

Deprecated: use ok. Always deleted.

Available options:
deleted
deleted_count
integer
required

Deprecated: use ok. Number of entries actually removed.

Required range: x >= 0