Skip to main content

Widget delete

Endpoint DELETE /widgets/:id

Delete a user's widget.

Path Parameters

Required
  • id - The widget's id.

Query parameters:

  • permanent - false by default. If true, the widget will be permanently deleted and cannot be restored.

Example Request:

curl -X DELETE -H "Authorization: Bearer ACCESS_TOKEN" "https://api.commoninja.com/platform/api/v1/widgets/894f5aed-29f5-46c5-9f26-022bfccc5292"

Example Response:

{}