---
title: "Delete SIP trunk"
method: DELETE
path: "/v2/partition/{partitionId}/account/{accountId}/siptrunk_2/{sipTrunkId}"
tags: ["SIP Trunk"]
---

# Delete SIP trunk

`DELETE /v2/partition/{partitionId}/account/{accountId}/siptrunk_2/{sipTrunkId}`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/account/{accountId}/siptrunk_2/{sipTrunkId}`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/account/:accountId/siptrunk_2/:sipTrunkId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Use to delete a SIP trunk

## Path parameters

- `accountId` string, required
- `partitionId` string, required
- `sipTrunkId` string, required

## Response `204`

The SIP trunk was deleted successfully

## Other responses

- `400`: Invalid request parameters
- `401`: Unauthorized
- `404`: Not found

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/cb514a0728ed?raw)
