Skip to main content

Enable/Disable SIM

Enables or disables a SIM. A disabled SIM is deactivated and cannot be used.

Args
ORG-ID
The unique ID assigned to your organisation
ICCID
Unique ICCID of target device

Response
200
Success UpdateSuccess
Response Body

Error   boolean

Indicates if there was an error.

StatusCode   integer

HTTP status code of the response.

Message   string

Message indicating the result of the operation.

401
Unauthorized If the API Key is wrong or there is no permission to access the requested data.
404
Not Found If the specified ICCID was not found in the system.
500
Server Error As described in the Message field.
cURL
    curl --location --request PUT 'https://link.monoz.io/api/v1/mti/Sim/Enable' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: abcdefgh123456' \
--data '{
"ICCID": "1234567890",
"Enable": true
}'
Response
{
"Error": false,
"StatusCode": 200,
"Message": "UpdateSuccess"
}