Discord bot
Put a bot message back to the default
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
key*string
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/stores/string/discord-bot/messages/string"{ "key": "string", "name": "string", "description": "string", "channel": "string", "message": "string", "template": { "title": "string", "url": "string", "description": "string", "color": "string", "author": { "name": "string", "url": "string", "icon_url": "string" }, "thumbnail_url": "string", "image_url": "string", "footer": { "text": "string", "icon_url": "string" }, "timestamp": true, "fields": [ { "type": "field", "name": "string", "value": "string", "inline": true } ], "buttons": [ { "label": "string", "url": "string" } ] }, "customised": true, "defaultTemplate": { "title": "string", "url": "string", "description": "string", "color": "string", "author": { "name": "string", "url": "string", "icon_url": "string" }, "thumbnail_url": "string", "image_url": "string", "footer": { "text": "string", "icon_url": "string" }, "timestamp": true, "fields": [ { "type": "field", "name": "string", "value": "string", "inline": true } ], "buttons": [ { "label": "string", "url": "string" } ] }, "limits": { "property1": -9007199254740991, "property2": -9007199254740991 }, "variables": [ { "key": "string", "label": "string", "sample": "string", "group": "string" } ], "groups": [ { "key": "string", "label": "string", "item_label": "string" } ], "spreads": [ { "key": "string", "label": "string", "group": "string" } ], "sampleContext": { "values": { "property1": "string", "property2": "string" }, "groups": { "property1": [ { "values": { "property1": "string", "property2": "string" }, "spreads": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } } } ], "property2": [ { "values": { "property1": "string", "property2": "string" }, "spreads": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } } } ] }, "spreads": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } } }}