Change SIM Status
# Change SIM Status
Http Method: POST
URL: {BaseUrl}/api/v1/external/sim/changeSimStatus
# Description
This API manages the activation and deactivation of SIM cards, allowing operational adjustments and ensuring compliance with security protocols. It supports temporary activation troubleshooting and provides detailed control over the duration and area of SIM card operation. If the current status of a SIM card is deactivated, you can batch update the status to activated. Similarly, if the current status of a SIM card is active, you can batch change the status to inactive. Please note that the results may not be immediately available. After some time, you will need to call the GetDeviceSIMsDetails interface again to retrieve the final SIM status, which typically takes around 3-5 minutes.
# Request Parameters:
Parameters | Type | Mandatory/Optional | Description |
---|---|---|---|
simIds | list | M | 18-20 for ICCID, 15 for IMSI. The length of simIds is limited to 100 |
simIdType | string | M | ICCID or IMSI |
active | boolean | M | Is this profile activated, true or false |
# Example of Request
{
"simIds": ["89148000007829999354","89148000007429026210"],
"simIdType": "ICCID",
"active": true
}
# Response Parameters
Parameters | Type | Mandatory/Optional | Description |
---|---|---|---|
requestId | string | M | Unique request identification |
status | string | M | Status of the request (e.g., success, processing, failed) |
message | string | O | Additional information or error details |
# Example of Response
{
"requestId": "20231212000233233223",
"status": "processing",
"message": ""
}