Request a SIM card disable
This API disables a SIM card, disconnecting it from the network and making it impossible to consume data.<br/> The API will trigger an asynchronous operation called a SIM Card Action. Transitioning to the disabled state may take a period of time. The status of the SIM Card Action can be followed through the List SIM Card Action API.
Path parameters
Identifies the SIM.
Response
Action accepted. The response contains a SIM card action; poll GET /sim_card_actions/{id} with the action id to track progress.
Example response
{
"data": {
"action_type": "enable",
"created_at": "2018-02-02T22:25:27.521Z",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "sim_card_action",
"settings": {},
"sim_card_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"status": {
"reason": "The data limit was exceeded.",
"value": "completed"
},
"updated_at": "2018-02-02T22:25:27.521Z"
}
}Changes
Changed in 2 of the 61 revisions of this API.22
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for statusdefaultresponse-property-type-changed
- ●
added the new
disable_voiceenum value to thedata/action_typeresponse property for the response status202response-property-enum-value-added
- ●
added the new
enable_voiceenum value to thedata/action_typeresponse property for the response status202response-property-enum-value-added
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for statusdefaultresponse-property-type-changed
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲