Skip to main content

Delete Phone Number

DELETE/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}

cURL example

curl -X DELETE \
  'https://app.intracord.hu/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}' \
  -H "X-API-Key: $INTRACORD_API_KEY"

Parameters

NameLocationTypeDescription
config_idrequiredpathinteger
phone_number_idrequiredpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Responses

200Successful Response
application/json
View schema
{}
404Not found
422Validation Error
application/json
View schema
{
  "properties": {
    "detail": {
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}