Docs menu

Delete a voice endpoint

DELETE/v1/profiles/{profile_id}/voice-endpoints/{endpoint_id}

  • Scope calls:write

Removes it. An endpoint the call routing uses can't be deleted: change the routing first.

Parameters

Path

  • profile_idstringrequired

    The line (prf_…).

  • endpoint_idstringrequired

    The voice endpoint (vep_…).

Response

200 OKDeleted.

  • idstringrequired

  • object"voice_endpoint"required

  • deletedtruerequired

Errors

StatusCodeMeans
409endpoint_in_useCall routing uses this voice endpoint.
400validation_failedA field is missing or invalid.
401unauthorizedThe API key is missing, unknown or revoked.
403insufficient_scopeThe API key lacks the scope this needs.
404not_foundNo such object, or the key can't see it.

Every error is { "error": { "code", "message" } }. All error codes.

Keys come with your first line.

Request an invite and we'll set up a line for your team. API access is part of every plan.

Request an invite