mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-14 06:06:18 +00:00
update billable
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com>
This commit is contained in:
@@ -100,4 +100,16 @@ trait ManagesSubscriptions
|
||||
{
|
||||
return $this->request('PUT', sprintf('v1/subscriptions/%s/resume', $subscriptionId));
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete a given subscription from the current user.
|
||||
*
|
||||
* @param string $subscriptionId The subscription ID.
|
||||
* @throws RequestRequiresClientIdException
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
public function deleteSubscription(string $subscriptionId): Result
|
||||
{
|
||||
return $this->request('DELETE', sprintf('v1/subscriptions/%s', $subscriptionId));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user