DELETE
/
api-list
/
list
/
{listId}
curl --request DELETE \
  --url https://prod01-apigw.{customer_name}.fabric.zone/api-list/list/{listId} \
  --header 'x-site-context: <x-site-context>'
{
  "message": "List deleted successfully"
}

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

x-api-key
string

Path Parameters

listId
string
required

Response

200
application/json
Delete list by Id
message
string