SIM Cards
Validate SIM cards registration codes
Changed onIt validates whether SIM card registration codes are valid or not.
post/sim_cards/actions/validate_registration_codes
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/sim_cards/actions/validate_registration_codes
- Auth: HTTP bearer
Request body
Example request
{
"registration_codes": [
"123456780",
"1231231230"
]
}Response
Successful
Example response
{
"data": [
{
"record_type": "sim_card_registration_code_validation",
"invalid_detail": "This code has already been used."
}
]
}Changes
- breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - info
added the optional property
//to the response with the status
- breaking
- breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status
- breaking