This will allow you to unsubscribe a lead from any specific mailing list. Note that you must have previously created your list within your Kartra account (https://app.kartra.com/communication/lists).
The API will fail if it doesn’t find the list within your Kartra account. Moreover, if the lead had not been previously subscribed to that list, the API will take no action.
* Required fields
Here is an example:
'actions' => [ '0' => [ 'cmd' => 'unsubscribe_lead_from_list', 'list_name' => 'List name' ] ]