API v2.5 / eSIMs / Suspend or unsuspend an eSIM
POST /esims/{iccid}/suspend
This endpoint allows you to suspend or unsuspend an eSIM using its ICCID.
When an eSIM is suspended, it will not be able to connect to the network. This can be useful for temporarily disabling an eSIM without revoking it entirely.
To suspend an eSIM, set suspend to true. To unsuspend an eSIM, set suspend to false.
Authorizations
Parameters
Path Parameters
(Required) The ICCID of the eSIM
Example
8944123456789012000Request Body required
Suspend or unsuspend the eSIM
object
Example
{ "suspend": true}Responses
201
Suspend status set successfully
object
Status message of api request
Example
{ "status": "eSIM suspended successfully"}400
Bad Request - returned when request format is not accepted
object
Status of api functions which do not return data
403
Unauthorised - returned when the api token is invalid or the ICCID is not accessible by the user
object
Status of api functions which do not return data
429
Too Many Requests
object
Status of api functions which do not return data
500
Server Error
object
Status of api functions which do not return data