# Update service **POST /v1/Services/{Sid}** Containers for sync objects ## Servers - https://sync.twilio.com: https://sync.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **Sid** (string) The SID of the Service resource to update. ### Body: application/x-www-form-urlencoded (object) - **WebhookUrl** (string(uri)) The URL we should call when Sync objects are manipulated. - **FriendlyName** (string) A string that you assign to describe the resource. - **ReachabilityWebhooksEnabled** (boolean) Whether the service instance should call `webhook_url` when client endpoints connect to Sync. The default is `false`. - **AclEnabled** (boolean) Whether token identities in the Service must be granted access to Sync objects by using the [Permissions](https://www.twilio.com/docs/sync/api/sync-permissions) resource. - **ReachabilityDebouncingEnabled** (boolean) Whether every `endpoint_disconnected` event should occur after a configurable delay. The default is `false`, where the `endpoint_disconnected` event occurs immediately after disconnection. When `true`, intervening reconnections can prevent the `endpoint_disconnected` event. - **ReachabilityDebouncingWindow** (integer) The reachability event delay in milliseconds if `reachability_debouncing_enabled` = `true`. Must be between 1,000 and 30,000 and defaults to 5,000. This is the number of milliseconds after the last running client disconnects, and a Sync identity is declared offline, before the webhook is called if all endpoints remain offline. A reconnection from the same identity by any endpoint during this interval prevents the webhook from being called. - **WebhooksFromRestEnabled** (boolean) Whether the Service instance should call `webhook_url` when the REST API is used to update Sync objects. The default is `false`. ## Responses ### 200 OK #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **sid** (string | null) The unique string that we created to identify the Service resource. - **unique_name** (string | null) An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. It is a read-only property, it cannot be assigned using REST API. - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Service resource. - **friendly_name** (string | null) The string that you assigned to describe the resource. - **date_created** (string(date-time) | null) The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - **date_updated** (string(date-time) | null) The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - **url** (string(uri) | null) The absolute URL of the Service resource. - **webhook_url** (string(uri) | null) The URL we call when Sync objects are manipulated. - **webhooks_from_rest_enabled** (boolean | null) Whether the Service instance should call `webhook_url` when the REST API is used to update Sync objects. The default is `false`. - **reachability_webhooks_enabled** (boolean | null) Whether the service instance calls `webhook_url` when client endpoints connect to Sync. The default is `false`. - **acl_enabled** (boolean | null) Whether token identities in the Service must be granted access to Sync objects by using the [Permissions](https://www.twilio.com/docs/sync/api/sync-permissions) resource. It is disabled (false) by default. - **reachability_debouncing_enabled** (boolean | null) Whether every `endpoint_disconnected` event should occur after a configurable delay. The default is `false`, where the `endpoint_disconnected` event occurs immediately after disconnection. When `true`, intervening reconnections can prevent the `endpoint_disconnected` event. - **reachability_debouncing_window** (integer) The reachability event delay in milliseconds if `reachability_debouncing_enabled` = `true`. Must be between 1,000 and 30,000 and defaults to 5,000. This is the number of milliseconds after the last running client disconnects, and a Sync identity is declared offline, before `webhook_url` is called, if all endpoints remain offline. A reconnection from the same identity by any endpoint during this interval prevents the reachability event from occurring. - **links** (object(uri-map) | null) The URLs of related resources. [Powered by Bump.sh](https://bump.sh)