Delete a custom widget
📘 Note:
Deletion of global widget will impact all the running campaign where the widget is in use.
#OpenAPI definition
{
"openapi": "3.1.0",
"info": {
"title": "api",
"version": "4"
},
"servers": [
{
"url": "https://app.wingify.com/api/v2"
}
],
"components": {
"securitySchemes": {
"sec0": {
"type": "apiKey",
"in": "header",
"name": "token"
}
}
},
"security": [
{
"sec0": []
}
],
"paths": {
"/accounts/{account_id}/changesets/{changeset_id}": {
"delete": {
"summary": "Delete a custom widget",
"description": "",
"operationId": "delete-a-custom-widget",
"parameters": [
{
"name": "account_id",
"in": "path",
"description": "Use 'current' keyword to refer to the Main Workspace or the Integer Workspace Id",
"required": true,
"schema": {
"type": "string",
"default": "current"
}
},
{
"name": "changeset_id",
"in": "path",
"description": "Enter the widget Id",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"204": {
"description": "204",
"content": {
"application/json": {
"examples": {
"Result": {
"value": ""
}
}
}
}
},
"404": {
"description": "404",
"content": {
"text/plain": {
"examples": {
"Result": {
"value": ""
}
}
}
}
}
},
"deprecated": false
}
}
},
"x-readme": {
"headers": [],
"explorer-enabled": true,
"proxy-enabled": true
},
"x-readme-fauxas": true
}