ClawOps Docs
API Reference

SIP 엔드포인트 삭제 (soft delete, status=deleted)

DELETE
/v1/accounts/{accountId}/sip-endpoints/{endpointId}

엔드포인트를 사용 중인 PhoneNumber 가 있으면 409 IN_USE. 먼저 번호의 routingType 을 webhook 으로 되돌려야 합니다.

Authorization

BearerAuth
AuthorizationBearer <token>

API Key를 Bearer 토큰으로 전달

In: header

Path Parameters

accountId*string
endpointId*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/accounts/AC1a2b3c4d/sip-endpoints/SE1a2b3c4d"
{
  "ok": true
}
{
  "error": "string",
  "code": "INVALID_PHONE_NUMBER"
}
{
  "error": "string",
  "code": "INVALID_PHONE_NUMBER"
}
{
  "error": "string",
  "code": "INVALID_PHONE_NUMBER"
}