add subscription process delete endpoint

This commit is contained in:
2025-01-03 09:25:09 +01:00
parent abcfea9480
commit 395d6c3b2e
2 changed files with 43 additions and 0 deletions

View File

@ -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'
)
);
}
}