Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 9c53a80

Browse files
sathiyaaaBarny Shergoldmeker12
authored
added a note indicating that the deletion of snippets has to be done using the api (#8327)
* added a note indicating that the deletion of snippets has to be done using the API * Update src/cloud/cdn/cloud-vcl-custom-snippets.md Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: Margaret Eker <[email protected]>
1 parent a674fcf commit 9c53a80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cloud/cdn/cloud-vcl-custom-snippets.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ You can create and manage custom VCL snippets from the Magento Admin UI or by us
4545

4646
- [Magento Admin UI](#manage-custom-vcl-snippets-from-the-magento-admin-ui)—We recommend using the Magento Admin UI to manage custom VCL snippets because it automates the process to validate and upload the custom snippet and apply your changes to the Fastly service configuration. Additionally, you can view and edit the custom VCL snippets added to the Fastly service configuration from the Admin UI.
4747

48+
{:.bs-callout-info}
49+
You must use the Fastly API to [delete custom VCL snippets](https://devdocs.magento.com/cloud/cdn/cloud-vcl-custom-snippets.html#manage-vcl), or you can delete the contents of the snippet in the Magento Admin UI and upload an empty snippet. See [Delete a custom snippet](https://devdocs.magento.com/cloud/cdn/fastly-vcl-badreferer.html#delete-the-custom-vcl-snippet).
50+
4851
- [Fastly API](#manage-custom-vcl-snippets-using-the-api)—Manage custom VCL snippets using the API if you cannot access the Magento Admin UI. For example, if the site is down and you need to troubleshoot the Fastly service configuration or add a custom VCL snippet. Additionally, some operations can only be completed using the API, for example reactivating an older VCL version or viewing all the VCL snippets included in a specified the VCL version. See [API quick reference for VCL snippets](#manage-vcl).
4952

5053
### Example VCL snippet code {#vcl-curl}

0 commit comments

Comments
 (0)