Terminate a Sim API

Property Description
Title Terminate a sim
Description Terminate a sim and moved it to "OnStock". The sim status can be either "Productive" or "Suspended".
URL https://ws.borderlessm2m.com/UpdateSim/Terminate/{iccid}
Method PUT
Authentication Basic Auth
Body NIL
Return Message Example:
{
    "message": "PENDING",
    "errors": null
}
							
Errors
Error Description Example
Wrong username or password
{
    "code": 500,
    "message": "There was an error processing your request. It has been logged (ID xxxxxxxxxxxxxxxx)."
}
										
Wrong iccid
{
    "message": "Bad Request",
    "errors": [
        "Could not find : {iccid}"
    ]
}
										
Sim status error
{
    "message": "Terminate Sim Error",
    "errors": [
        "cannot terminate a sim that is not either productive or suspended"
    ]
}