Update configuration settings of a conversation service
A Service Configuration resource manages service-level settings applicable to the Conversation API.
Update configuration settings of a conversation service
Path parameters
-
The SID of the Service configuration resource to update.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
.
Body
-
The conversation-level role assigned to a conversation creator when they join a new conversation. See Conversation Role for more info about roles.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^RL[0-9a-fA-F]{32}$
. -
The conversation-level role assigned to users when they are added to a conversation. See Conversation Role for more info about roles.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^RL[0-9a-fA-F]{32}$
. -
The service-level role assigned to users when they are added to the service. See Conversation Role for more info about roles.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^RL[0-9a-fA-F]{32}$
. -
Whether the Reachability Indicator is enabled for this Conversations Service. The default is
false
.
curl \
--request POST 'https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Configuration' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'ReachabilityEnabled=false&DefaultChatServiceRoleSid=RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&DefaultConversationRoleSid=RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&DefaultConversationCreatorRoleSid=RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
{"ReachabilityEnabled"=>false, "DefaultChatServiceRoleSid"=>"RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "DefaultConversationRoleSid"=>"RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "DefaultConversationCreatorRoleSid"=>"RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
{
"url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration",
"links": {
"webhooks": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration/Webhooks",
"notifications": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration/Notifications"
},
"chat_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"reachability_enabled": false,
"default_chat_service_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"default_conversation_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"default_conversation_creator_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}