capabilities.work

Decommission Endpoint

A 4-step recipe with emnify. We can help you get access.

Recipe · 4 steps

Decommission Endpoint

with emnify

Suspend an endpoint's SIM and delete the endpoint.

  1. Exchange the application token for an auth_token used as a Bearer token.
  2. Read the endpoint to capture the assigned SIM ID before teardown.
  3. Suspend the assigned SIM (status id 2) so it stops accruing charges.
  4. Delete the endpoint and all of its child entities.
What you'll need to have ready
  • applicationToken: emnify application token used to obtain an auth_token.
  • endpointId: The ID of the endpoint to decommission.
For your developer

Arazzo workflow emnify:decommission-endpoint, 4 operations: authenticate → endpoint-by-id-get → sim-by-id-patch → endpoint-by-id-delete. Specs on APIs.io.