---
title: "Rotate a SIP trunk's password"
method: POST
path: "/v1/phone-numbers/sip-trunks/{id}/rotate-credentials"
tags: ["Voice"]
---

# Rotate a SIP trunk's password

`POST /v1/phone-numbers/sip-trunks/{id}/rotate-credentials`

Mints a new digest password on the trunk. The old password stops
working immediately, so update the destination platform right away.

## Path parameters

- `id` string, required

## Response `200`

New credentials. The password is shown only here.

- object
  - `termination` object
    - `uri` string — Telnyx termination host the platform dials for outbound (sip.telnyx.com).
    - `username` string — SIP digest username.
  - `digestPassword` string

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — SIP trunk not found

## Changes

- **2026-09-25** `2c04683ce694` — 4 info
  - added the optional property `details/adAccountId` to the response with the `400` status
  - added the optional property `details/createdObjects` to the response with the `400` status
  - added the optional property `details/stage` to the response with the `400` status
  - added the optional property `details/unconfirmedWrite` to the response with the `400` status
- **2026-09-16** `3e6ddf2a99ea` — 1 info
  - added the optional property `details/budgetScope` to the response with the `400` status
- **2026-09-15** `0dba7d004d75` — 2 info
  - added the optional property `details/quotaExhausted` to the response with the `400` status
  - added the optional property `details/quotaScope` to the response with the `400` status
- **2026-08-24** `1307bc21beec` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/phone-numbers/sip-trunks/:id/rotate-credentials/post.md)

---

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