Purge Environment Cache
POST
https://api.servebolt.io/v1/environments/{id}/purge_cache
Purge an environment's HTTP and CloudFlare cache by prefix, host, cache tag or file path.
Use only the correct CDN
Add uniquness to your cache tags
Request
Path Params
id
string
required
Example:
1234
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379
Body Params application/json
Request samples
Responses
Modified at 2024-11-26 12:58:12