Delete SIM card pool
DELETE/sim_card_pools/:matching_id
This API Endpoint allows for the deletion of an empty SIM Card Pool
Request
Path Parameters
matching_id stringrequired
Identifies the SIM pool.
Responses
200: Successful Response
- application/json
default: Unexpected error
- application/json
Request samples
curl -L -X DELETE 'https://api.telnyx.com/v2/sim_card_pools/:matching_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"matching_id": "QR-G-K9-2N7-JHRTNX",
"name": "sim card pool",
"description": "sim card pool description",
"activation_code": "LPA:1$rsp.truphone.com$QR-G-K9-7NG-1H9FLVT",
"invalid_at": "2018-02-02T22:25:27.521Z",
"organization_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"user_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}