curl --request DELETE \
--url https://api.topcalls.ai/v1/phone-numbers/carriers/{carrier_id} \
--header 'Authorization: Bearer <token>'{
"title": "Insufficient Quota",
"status": 402,
"type": "https://api.topcalls.ai/errors/insufficient_quota",
"detail": "You need 5 minutes but have 3.5 remaining",
"instance": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
],
"details": "<string>"
}Delete a custom carrier. Cannot delete the TopCalls default carrier.
Note: Deleting a carrier does not automatically remove phone numbers using that carrier.
curl --request DELETE \
--url https://api.topcalls.ai/v1/phone-numbers/carriers/{carrier_id} \
--header 'Authorization: Bearer <token>'{
"title": "Insufficient Quota",
"status": 402,
"type": "https://api.topcalls.ai/errors/insufficient_quota",
"detail": "You need 5 minutes but have 3.5 remaining",
"instance": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
],
"details": "<string>"
}