DELETE
Delete an Entry
https://api.moltin.com/v2/flows/:slug/entries/:entryId
Parameters
Path parameters
Name | Required | Type | Description |
slug | Required | string | Specifies the slug of the template that contains the entry in an attribute. |
entryId | Required | string | Specifies the ID of the entry you want to delete. |
Headers
Name | Required | Type | Description |
Authorization | Required | string | The Bearer token required to get access to the API. |
Request Examples
Curl
curl -X DELETE https://api.moltin.com/v2/flows/:flowSlug/entries/:entryId \
-H "Authorization: Bearer XXXX"
JavaScript SDK
const MoltinGateway = require("@moltin/sdk").gateway;
const Moltin = MoltinGateway({
client_id: "X",
client_secret: "X",
});
const flowSlug = "XXXX";
const entryId = "XXXX";
Moltin.Flows.DeleteEntry(flowSlug, entryId).then((entry) => {
});
Response Example
204 No Content
Last updated on 11/10/2022