Update a specific SIM
Updates a SIM. Send only the fields you want to change.
Do not send null or an empty string. Any iccMnoId, iccSpecId, or iccTypeId you send must already exist in the system.
You cannot change a suspended SIM. Unsuspend it first.
An OAuth 2.0 client credentials access token, sent as Authorization: Bearer <token>.
Request the token from https://eseye-idp-prod.auth.eu-west-1.amazoncognito.com/oauth2/token using the client ID and client secret Eseye supplied. Tokens expire after one hour.
The ICC ID of the SIM.
8944500000000000123The mobile network operator the SIM belongs to.
12345The specification the SIM was manufactured to.
12345The type of SIM.
123A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: The first PIN for the SIM.
The second PIN for the SIM.
The first PUK code for the SIM.
The second PUK code for the SIM.
The eUICC identifier of the SIM.
12345The platform the SIM is provisioned on.
The date the SIM was activated.
The date the SIM was terminated.
The status of the SIM.
| Value | Meaning |
|---|---|
available | The SIM exists on your account and has a package, but cannot connect to a network. No service charges apply. |
active | The SIM is provisioned and ready to use on the network. Standard service charges and usage charges apply. |
Set status to active to activate a SIM, or to available to deactivate it.
activePossible values: The remote SIM provisioning platform the SIM uses.
78901The updated SIM.
A SIM on your account, identified by its ICC ID.
The Integrated Circuit Card Identifier that uniquely identifies the SIM, or the eUICC SIM profile.
8944500000000000123The Eseye SIM reference number, printed on the physical SIM card.
9445000000000123Identifies the mobile network operator that provides the IMSI.
9953The SIM manufacturing batch number, which identifies the SIM specification.
5215The SIM part number, which identifies the form factor, such as plug-in, embedded, or eSIM.
152A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: A yes or no flag.
| Value | Meaning |
|---|---|
yes | The service or object is disabled. |
no | The service or object is not disabled. |
noPossible values: The eUICC identifier. This is the global serial number that identifies an eUICC for remote SIM provisioning.
89049032000000000000000000000001The primary PIN, used to unlock the SIM. Eseye advises against enabling a PIN on IoT devices.
The secondary PIN, used to unlock advanced SIM services. Eseye advises against enabling a PIN on IoT devices.
The unblocking key that resets pin1 after too many incorrect attempts.
The unblocking key that resets pin2 after too many incorrect attempts.
Identifies the remote SIM provisioning platform the SIM uses.
78901Identifies the platform the SIM is provisioned on.
1When the SIM was first activated. All times are UTC.
2023-06-28T05:52:03ZWhen the SIM was terminated. null if the SIM has not been terminated.
The status of the SIM.
| Value | Meaning |
|---|---|
available | The SIM exists on your account and has a package, but cannot connect to a network. No service charges apply. |
active | The SIM is provisioned and ready to use on the network. Standard service charges and usage charges apply. |
Set status to active to activate a SIM, or to available to deactivate it.
activePossible values: The request contained an invalid parameter. additionalDetails lists the fields that failed validation.
The token is valid, but the service account does not have permission for this operation.
An entity referenced in the request does not exist. The message and additionalDetails name what could not be resolved.
PATCH /api/v2/sim/{iccId} HTTP/1.1
Host: sim.api.anynetiot.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"iccMnoId": "12345",
"adminSuspend": "yes"
}{
"iccId": "8944500000000000123",
"simId": "9445000000000123",
"iccMnoId": "9953",
"iccSpecId": 5215,
"iccTypeId": 152,
"adminSuspend": "yes",
"systemSuspend": "no",
"customerSuspend": "no",
"dataSuspend": "no",
"messagingSuspend": "no",
"voiceSuspend": "no",
"eId": "89049032000000000000000000000001",
"pin1": null,
"pin2": null,
"puk1": null,
"puk2": null,
"platformId": 1,
"terminatedDate": null,
"status": "active",
"activatedDate": "2023-09-27T11:21:14Z",
"attributes": [
{
"iccAttributeId": 27076236,
"iccId": "8944500000000000123",
"attribute": "siteRef",
"value": "532",
"status": "active"
},
{
"iccAttributeId": 27076229,
"iccId": "8944500000000000123",
"attribute": "deviceProfileId",
"value": "3352",
"status": "active"
}
]
}Last updated
Was this helpful?