Skip to main content
POST
/
organizations
/
{organizationId}
/
entitlements
/
{service}
/
cancel
Cancel service subscription
curl --request POST \
  --url https://api.hixbe.com/account/organizations/{organizationId}/entitlements/{service}/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "immediate": false
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required
service
enum<string>
required
Available options:
PAYMENT_GATEWAY,
SMS_GATEWAY,
LINK_SHORTENER,
PBX_CALL_CENTER,
HOSTING,
NATIONAL_ISP,
CERTIFICATION_BADGE

Body

application/json
immediate
boolean
default:false

Cancel immediately instead of at end of billing period

Response

201

Subscription cancelled successfully