Skip to Content
Phone numbers

Archive a phone number

Permissionphone-numbers:deleteAuthentication
DELETE
/phone-numbers/{id}

Idempotently soft-archives the number, then removes LiveKit and Twilio routing after commit. This operation accepts no request body.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid

Header Parameters

If-Match?string

Optional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.

Response Body

The phone number is archived. Repeating the operation is a successful no-op.

Example Request
curl -X DELETE 'https://api.kejue.co/v1/phone-numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty