add subscription process delete endpoint
This commit is contained in:
@ -102,4 +102,17 @@ class SubscriptionProcess extends Model
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws BaseException
|
||||
*/
|
||||
public function delete(string $listId): bool
|
||||
{
|
||||
return (bool) current(
|
||||
$this->connection->requestAndParse(
|
||||
'DELETE',
|
||||
'list/'.urlencode(trim($listId)).'.json'
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user