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.
Body
-
DefaultChatServiceRoleSid string
The service-level role assigned to users when they are added to the service. See the 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 a conversation creator when they join a new conversation. See the 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}$
. -
DefaultConversationRoleSid string
The conversation-level role assigned to users when they are added to a conversation. See the 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}$
. -
ReachabilityEnabled boolean
Whether the Reachability Indicator is enabled for this Conversations Service. The default is
false
.
curl \
-X POST https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Configuration \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'DefaultChatServiceRoleSid=string&DefaultConversationCreatorRoleSid=string&DefaultConversationRoleSid=string&ReachabilityEnabled=true'
{
"DefaultChatServiceRoleSid": "string",
"DefaultConversationCreatorRoleSid": "string",
"DefaultConversationRoleSid": "string",
"ReachabilityEnabled": true
}
{
"DefaultChatServiceRoleSid": "string",
"DefaultConversationCreatorRoleSid": "string",
"DefaultConversationRoleSid": "string",
"ReachabilityEnabled": true
}
{
"chat_service_sid": "string",
"default_chat_service_role_sid": "string",
"default_conversation_creator_role_sid": "string",
"default_conversation_role_sid": "string",
"links": {},
"reachability_enabled": true,
"url": "https://example.com"
}
{
"chat_service_sid": "string",
"default_chat_service_role_sid": "string",
"default_conversation_creator_role_sid": "string",
"default_conversation_role_sid": "string",
"links": {},
"reachability_enabled": true,
"url": "https://example.com"
}