SIP trunks
Archive a SIP trunk
Permission
sip-trunks:deleteAuthenticationDELETE
Idempotently soft-archives a trunk and schedules provider cleanup. Returns 409 while active phone numbers still reference it. Reassign or archive those numbers first.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidIf-Match?stringOptional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.
The trunk is archived. Repeating the operation is a successful no-op.
curl -X DELETE 'https://api.kejue.co/v1/sip-trunks/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty