Delete a Flow
DELETE
Delete a Flow
https://api.moltin.com/v2/flows/:id
Path Parameters:
Name | Required | Type | Description |
---|---|---|---|
id | Required | string | The ID for the field you are requesting to be deleted. |
Headers:
Name | Required | Type | Description |
---|---|---|---|
Authorization | Required | string | The Bearer token required to get access to the API. |
204 No Content
curl -X DELETE https://api.moltin.com/v2/flows/:id \
-H "Authorization: Bearer XXXX"
const MoltinGateway = require('@moltin/sdk').gateway
const Moltin = MoltinGateway({
client_id: 'X'
})
const flowId = 'XXX'
Moltin.Flows.Delete(flowId).then(flow => {
// Do something
});