Update Service

POST {{v2-Services-Sid-Url}}/v2/Services/:Sid

Request Body

[{"name"=>"FriendlyName", "value"=>"minim", "datatype"=>"string"}, {"name"=>"DefaultServiceRoleSid", "value"=>"RL9fdCF178a0d4e52Fd00C61DAeFD52c3A", "datatype"=>"string"}, {"name"=>"DefaultChannelRoleSid", "value"=>"RL8a568D7EEEc3cFfeA4837F49769b6698", "datatype"=>"string"}, {"name"=>"DefaultChannelCreatorRoleSid", "value"=>"RLDceabc28a67FAc6d9FA1746FCbe7eFfD", "datatype"=>"string"}, {"name"=>"ReadStatusEnabled", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"ReachabilityEnabled", "value"=>"false", "datatype"=>"boolean"}, {"name"=>"TypingIndicatorTimeout", "value"=>"-69408959", "datatype"=>"number"}, {"name"=>"ConsumptionReportInterval", "value"=>"66529638", "datatype"=>"number"}, {"name"=>"Notifications.NewMessage.Enabled", "value"=>"false", "datatype"=>"boolean"}, {"name"=>"Notifications.NewMessage.Template", "value"=>"ipsum elit ullamco sint", "datatype"=>"string"}, {"name"=>"Notifications.NewMessage.Sound", "value"=>"mollit ullamco exercitation commodo Lorem", "datatype"=>"string"}, {"name"=>"Notifications.NewMessage.BadgeCountEnabled", "value"=>"false", "datatype"=>"boolean"}, {"name"=>"Notifications.AddedToChannel.Enabled", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"Notifications.AddedToChannel.Template", "value"=>"in amet", "datatype"=>"string"}, {"name"=>"Notifications.AddedToChannel.Sound", "value"=>"ex ipsum e", "datatype"=>"string"}, {"name"=>"Notifications.RemovedFromChannel.Enabled", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"Notifications.RemovedFromChannel.Template", "value"=>"et occaecat", "datatype"=>"string"}, {"name"=>"Notifications.RemovedFromChannel.Sound", "value"=>"culpa in anim", "datatype"=>"string"}, {"name"=>"Notifications.InvitedToChannel.Enabled", "value"=>"false", "datatype"=>"boolean"}, {"name"=>"Notifications.InvitedToChannel.Template", "value"=>"fugiat reprehenderit", "datatype"=>"string"}, {"name"=>"Notifications.InvitedToChannel.Sound", "value"=>"sint enim minim incididunt irure", "datatype"=>"string"}, {"name"=>"PreWebhookUrl", "value"=>"https://JwnGJPgrTjOLVCTkW.izrlqRx2cejOhYOHesns91GURm", "datatype"=>"string"}, {"name"=>"PostWebhookUrl", "value"=>"http://sLjVKbgmFKeWykdN.gnrb9Nz", "datatype"=>"string"}, {"name"=>"WebhookMethod", "value"=>"GET", "datatype"=>"string"}, {"name"=>"WebhookFilters", "value"=>"eu ", "datatype"=>"string"}, {"name"=>"WebhookFilters", "value"=>"dolor anim", "datatype"=>"string"}, {"name"=>"Limits.ChannelMembers", "value"=>"55903256", "datatype"=>"number"}, {"name"=>"Limits.UserChannels", "value"=>"88312772", "datatype"=>"number"}, {"name"=>"Media.CompatibilityMessage", "value"=>"qui ullamco", "datatype"=>"string"}, {"name"=>"PreWebhookRetryCount", "value"=>"-50681169", "datatype"=>"number"}, {"name"=>"PostWebhookRetryCount", "value"=>"61928354", "datatype"=>"number"}, {"name"=>"Notifications.LogEnabled", "value"=>"true", "datatype"=>"boolean"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"sid":"ISa6bFFb1dbfC17bDC7ad90EFD3a5455E7","account_sid":"ACa0AB96ba9C4329D1aDb06CE50b6FFEA8","friendly_name":"sunt consectetur Lorem","date_created":"1963-01-25T00:55:51.547Z","date_updated":"1995-02-27T06:40:24.290Z","default_service_role_sid":"RLD1fD6f8Be07EfE076FdeD0EbC2CaA172","default_channel_role_sid":"RLAA9d88F99C1b8629bBCa42623BCf01bC","default_channel_creator_role_sid":"RLb50cB6ccDe77cE2cb5060BBa49B8beDD","read_status_enabled":true,"reachability_enabled":true,"typing_indicator_timeout":-6893278,"consumption_report_interval":70738732,"limits":{},"pre_webhook_url":"dolore","post_webhook_url":"amet ea cupidatat id","webhook_method":"do","webhook_filters":["pariatur sed consectetur","est ad commodo cillum adipisi"],"pre_webhook_retry_count":-5085208,"post_webhook_retry_count":-24727335,"notifications":{},"media":{},"url":"http://PVMCQeHVJNMImvXVzfEhQqw.kaPW651duVI56lNb62+I3+aUYHbYsuFCC-cxlaM5qMSV3yTePtOyBCxV7C","links":{}}