Remove a Package
Remove a data package from an existing eSIM without deleting the eSIM itself.
Use this operation when a package expires, needs to be replaced, was assigned incorrectly, or a subscription is cancelled.
Request
DELETE /api/v1/esims/remove-packages
curl --location --request DELETE \
"https://esim-api.it-decision.com/api/v1/esims/remove-packages" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <TOKEN>" \
--data '{
"packageEsimIds": [
"<PACKAGE_ESIM_ID>"
]
}'Recommended Method
Use packageEsimIds when you want to remove a specific package-to-eSIM association.
Alternative Methods
combinations— Remove specificesimId+packageIdpairs.esims + packages— Remove all matching combinations between the provided eSIMs and packages.
Result
Only the package-to-eSIM association is removed.
The eSIM loses access only to the data allowance provided by the removed package.
Last updated