post https://media-resolver.api.zesty.io/invalidate
Bust the file URL from CDN to invalidate the public URL of the modified file.
This API only allows Service to Service consumption. A zesty user cannot use this API.
X-Service-Auth-Content
and X-Service-Auth-Sig
custom headers are used to consume this API via Service to Service token.
Format: tuple
[[zuid, type [, actionsHash]], [..], ..]
- if actionsHash is the string
\*
, it is treated as a wildcard and all actions hashes are deleted for the given zuid and type. Keys without a actionsHash are not deleted. - if actionsHash is
null
,undefined
, or anempty
string, a key without the actionsHash will be deleted so So if user wants to delete a zuid/type pair and all possible subkeys, user would submit two tuples like so:[[zuid, type], [zuid, type, '\*']]