---
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

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/1307bc21beec/schema)
