***

title: updateSipEndpoint
slug: /reference/typescript/rest/fabric/subscribers/update-sip-endpoint
description: Partially update a SIP endpoint for a subscriber.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Partially update a SIP endpoint for a [subscriber](/docs/platform/subscribers). Uses PATCH, so only provided fields are changed.

<EndpointSchemaSnippet endpoint="PATCH /api/fabric/resources/subscribers/{fabric_subscriber_id}/sip_endpoints/{id}" />

## **Response Example**

<EndpointResponseSnippet endpoint="PATCH /api/fabric/resources/subscribers/{fabric_subscriber_id}/sip_endpoints/{id}" />

## **Example**

```typescript {9}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com"
});

const updated = await client.fabric.subscribers.updateSipEndpoint(
  "subscriber-id",
  "endpoint-id",
  { username: "new-username" }
);
console.log("Updated:", updated.username);
```