# Method: projects.sipDomains.update

Updates a sip domain.

The caller must have `voice.sipDomains.update` permission on the project.

### HTTP request

`PATCH https://voice.api.enfonica.com/v1beta1/{sip_domain.name}`

### Path parameters

Parameters | &nbsp;
--|--
<span class="e-code">sipDomain.name</span> | <span class="e-code">string</span><br/>Resource name of the sip domain. It must match the pattern `projects/{project_id}/sipDomains/{sip_domain_id}`

### Query parameters
Parameters | &nbsp;
--|--
<span class="e-code">updateMask</span> | <span class="e-code">string (<a href="https://developers.google.com/protocol-buffers/docs/proto3#json" target="_blank">FieldMask</a> format)</span><br/>Fields to be updated.

### Request body

The request body must contain an instance of <span class="e-code">[SipDomain](/docs/cloud-voice/api-reference/rest/v1beta1/projects.sipDomains/overview/#resource-sipdomain)</span>.

### Response body

If successful, the response body contains an instance of <span class="e-code">[SipDomain](/docs/cloud-voice/api-reference/rest/v1beta1/projects.sipDomains/overview/#resource-sipdomain)</span>.

