1. Home
  2. Docs
  3. Pro Version Documentation
  4. REST API
  5. Delete multiple Snippets

Delete multiple Snippets

  • Admin can delete multiple snippets from these Settings.
  • First generate a new token by clicking on the Generate Token button.
  • Next, enter an endpoint title for example: deleteMultiple in the Delete multiple Snippets field.

Note: Do not enter any Special Characters [!@#$%^&*_()+-=] into the title.

  • Now, click on the Save Changes button.
  • After saving the changes, you will get the URL under the Delete multiple Snippets field.
  • The new URL:  https://wordpress-444586-2318562.cloudwaysapps.com/wp-json/post-snippets/deleteMultiple/E18LwcJkefl195va/MySnippet,PHPSnippet
  • Paste the URL in the browser or in postman.
  • The snippets will be deleted successfully.
  • Your snippets are deleted from the All Snippets section.
Was this article helpful to you? Yes No

How can we help?