Delete a list
$ lightfield list delete
DELETE/v1/lists/{id}
Moves a list to the trash. The list is soft-deleted and may be restored from the Lightfield UI. Member entities (accounts, contacts, or opportunities) are not affected.
Calling delete on an already-trashed list is a no-op and returns the existing record.
Required scope: lists:delete
Rate limit category: Write
Delete a list
lightfield list delete \
--api-key 'My API Key' \
--id id{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink"
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink"
}