Update service

POST /v2/Services/{Sid}

TODO: Resource-level docs

Path parameters

Body

Responses

POST /v2/Services/{Sid}
curl \
 -X POST https://ip-messaging.twilio.com/v2/Services/{Sid} \
 --user "username:password" \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -d 'ConsumptionReportInterval=42&DefaultChannelCreatorRoleSid=string&DefaultChannelRoleSid=string&DefaultServiceRoleSid=string&FriendlyName=string&Limits.ChannelMembers=42&Limits.UserChannels=42&Media.CompatibilityMessage=string&Notifications.AddedToChannel.Enabled=true&Notifications.AddedToChannel.Sound=string&Notifications.AddedToChannel.Template=string&Notifications.InvitedToChannel.Enabled=true&Notifications.InvitedToChannel.Sound=string&Notifications.InvitedToChannel.Template=string&Notifications.LogEnabled=true&Notifications.NewMessage.BadgeCountEnabled=true&Notifications.NewMessage.Enabled=true&Notifications.NewMessage.Sound=string&Notifications.NewMessage.Template=string&Notifications.RemovedFromChannel.Enabled=true&Notifications.RemovedFromChannel.Sound=string&Notifications.RemovedFromChannel.Template=string&PostWebhookRetryCount=42&PostWebhookUrl=https%3A%2F%2Fexample.com&PreWebhookRetryCount=42&PreWebhookUrl=https%3A%2F%2Fexample.com&ReachabilityEnabled=true&ReadStatusEnabled=true&TypingIndicatorTimeout=42&WebhookFilters=string&WebhookMethod=HEAD'
Request example
{
  "ConsumptionReportInterval": 42,
  "DefaultChannelCreatorRoleSid": "string",
  "DefaultChannelRoleSid": "string",
  "DefaultServiceRoleSid": "string",
  "FriendlyName": "string",
  "Limits.ChannelMembers": 42,
  "Limits.UserChannels": 42,
  "Media.CompatibilityMessage": "string",
  "Notifications.AddedToChannel.Enabled": true,
  "Notifications.AddedToChannel.Sound": "string",
  "Notifications.AddedToChannel.Template": "string",
  "Notifications.InvitedToChannel.Enabled": true,
  "Notifications.InvitedToChannel.Sound": "string",
  "Notifications.InvitedToChannel.Template": "string",
  "Notifications.LogEnabled": true,
  "Notifications.NewMessage.BadgeCountEnabled": true,
  "Notifications.NewMessage.Enabled": true,
  "Notifications.NewMessage.Sound": "string",
  "Notifications.NewMessage.Template": "string",
  "Notifications.RemovedFromChannel.Enabled": true,
  "Notifications.RemovedFromChannel.Sound": "string",
  "Notifications.RemovedFromChannel.Template": "string",
  "PostWebhookRetryCount": 42,
  "PostWebhookUrl": "https://example.com",
  "PreWebhookRetryCount": 42,
  "PreWebhookUrl": "https://example.com",
  "ReachabilityEnabled": true,
  "ReadStatusEnabled": true,
  "TypingIndicatorTimeout": 42,
  "WebhookFilters": [
    "string"
  ],
  "WebhookMethod": "HEAD"
}
Request examples
{
  "ConsumptionReportInterval": 42,
  "DefaultChannelCreatorRoleSid": "string",
  "DefaultChannelRoleSid": "string",
  "DefaultServiceRoleSid": "string",
  "FriendlyName": "string",
  "Limits.ChannelMembers": 42,
  "Limits.UserChannels": 42,
  "Media.CompatibilityMessage": "string",
  "Notifications.AddedToChannel.Enabled": true,
  "Notifications.AddedToChannel.Sound": "string",
  "Notifications.AddedToChannel.Template": "string",
  "Notifications.InvitedToChannel.Enabled": true,
  "Notifications.InvitedToChannel.Sound": "string",
  "Notifications.InvitedToChannel.Template": "string",
  "Notifications.LogEnabled": true,
  "Notifications.NewMessage.BadgeCountEnabled": true,
  "Notifications.NewMessage.Enabled": true,
  "Notifications.NewMessage.Sound": "string",
  "Notifications.NewMessage.Template": "string",
  "Notifications.RemovedFromChannel.Enabled": true,
  "Notifications.RemovedFromChannel.Sound": "string",
  "Notifications.RemovedFromChannel.Template": "string",
  "PostWebhookRetryCount": 42,
  "PostWebhookUrl": "https://example.com",
  "PreWebhookRetryCount": 42,
  "PreWebhookUrl": "https://example.com",
  "ReachabilityEnabled": true,
  "ReadStatusEnabled": true,
  "TypingIndicatorTimeout": 42,
  "WebhookFilters": [
    "string"
  ],
  "WebhookMethod": "HEAD"
}
Response examples (200)
{
  "account_sid": "string",
  "consumption_report_interval": 42,
  "date_created": "2023-05-04T09:42:00+00:00",
  "date_updated": "2023-05-04T09:42:00+00:00",
  "default_channel_creator_role_sid": "string",
  "default_channel_role_sid": "string",
  "default_service_role_sid": "string",
  "friendly_name": "string",
  "links": {},
  "post_webhook_retry_count": 42,
  "post_webhook_url": "string",
  "pre_webhook_retry_count": 42,
  "pre_webhook_url": "string",
  "reachability_enabled": true,
  "read_status_enabled": true,
  "sid": "string",
  "typing_indicator_timeout": 42,
  "url": "https://example.com",
  "webhook_filters": [
    "string"
  ],
  "webhook_method": "string"
}
Response examples (200)
{
  "account_sid": "string",
  "consumption_report_interval": 42,
  "date_created": "2024-05-04T09:42:00+00:00",
  "date_updated": "2024-05-04T09:42:00+00:00",
  "default_channel_creator_role_sid": "string",
  "default_channel_role_sid": "string",
  "default_service_role_sid": "string",
  "friendly_name": "string",
  "links": {},
  "post_webhook_retry_count": 42,
  "post_webhook_url": "string",
  "pre_webhook_retry_count": 42,
  "pre_webhook_url": "string",
  "reachability_enabled": true,
  "read_status_enabled": true,
  "sid": "string",
  "typing_indicator_timeout": 42,
  "url": "https://example.com",
  "webhook_filters": [
    "string"
  ],
  "webhook_method": "string"
}