Update a specific SIM attribute
Updates the value of a SIM attribute. The attribute name cannot be changed. To rename an attribute, delete it and create a new one.
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 unique identifier for the SIM attribute.
214133The new value of the attribute.
123Whether the record is still attached to its parent object.
| Value | Meaning |
|---|---|
active | The record is attached to the parent object. |
deleted | The record is no longer attached to the parent object. |
activeValores possíveis: The updated SIM attribute.
A name/value pair attached to a SIM.
The unique identifier for the attribute.
27076369The SIM the attribute belongs to.
8944500000000000123The attribute name. Names cannot contain spaces.
friendlyNameThe attribute value. Can be an empty string, but not null.
50kW rapid EV chargerWhether the record is still attached to its parent object.
| Value | Meaning |
|---|---|
active | The record is attached to the parent object. |
deleted | The record is no longer attached to the parent object. |
activeValores possíveis: 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}/attribute/{iccAttributeId} HTTP/1.1
Host: sim.api.anynetiot.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"value": "123"
}{
"iccAttributeId": 27076369,
"iccId": "8944500000000000123",
"attribute": "siteRef",
"value": "123",
"status": "active"
}Atualizado
Isto foi útil?