1. Home
  2. Docs
  3. REST API
  4. Developer documentation
  5. Delete A Generator

Delete A Generator

  • Admin can Delete the Generator Key with the help of API from Postman API’s Platform. The response will delete the Generators data object.
  • Go to Dashboard => WooCommerce => Settings => Generators.
  • Navigate General => REST API => Enable/disable API routes.
  • Click on the checkbox to enable the option of DELETE.

Request URL

DELETE

{SITE_URL}/wp-json/lmfwc/v2/generators{id}

Now copy your delete generator endpoint and past it to the postman.

Content-Type: application/json

Response

{

    “success”: true,

    “data”: []

}

  • Admin can check in the back-end settings Generators table.

How can we help?