For troubleshooting purposes, you might need to reset the connectivity of an endpoint. The device would restart the network connection procedure. You can do so via the EUI by selecting it and clicking on "Reset Connectivity". To do the same via API, four APIs need to be called:
- Disabling the endpoint
- Enabling the endpoint
- Suspending the SIM card attributed to the endpoint
- Activating the SIM card attributed to the endpoint
Let's take a look at each API.
1. Disabling the Endpoint
Patch https://cdn.emnify.net/api/v1/endpoint/{endpoint_id}
|
2. Enabling the Endpoint
Patch https://cdn.emnify.net/api/v1/endpoint/{endpoint_id}
|
3. Suspending the SIM
Patch https://cdn.emnify.net/api/v1/sim/{sim_id}
|
4. Activating the SIM
Patch https://cdn.emnify.net/api/v1/sim/{sim_id}
|
NOTES:
- SIM status 0: "Issued"
- A SIM once activated cannot be brought back to the initial state.
- SIM status 3: "Deleted"
- This status will remove the SIM from your repository - to be used only if the SIM was lost or damaged.
Comments
0 comments
Please sign in to leave a comment.