Delete a subscription
curl --request DELETE \
--url https://api.bondio.co/v2/subscriptions/{xid} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.bondio.co/v2/subscriptions/{xid}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bondio.co/v2/subscriptions/{xid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));SubscriptionV2
Delete a subscription
Deletes the subscription and recycles the ICCID associated with it. The associated ICCID goes back into the customer inventory and will be picked up again automatically in the creation of a new subscription at some point in time in future.
Note: this operation will fail if the esim profile associated with the ICCID was ever downloaded by an end-user.
DELETE
/
v2
/
subscriptions
/
{xid}
Delete a subscription
curl --request DELETE \
--url https://api.bondio.co/v2/subscriptions/{xid} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.bondio.co/v2/subscriptions/{xid}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bondio.co/v2/subscriptions/{xid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
