Skip to content

Update account

Request

Overview

This APIs allows you to update an existing Conversation Manager account.

Scope

Client application must have 'app.conversation.conversationmgr.manage' scope assigned.

Security
oAuthClient(Required scopes:
https://api.egain.cloud/auth/.default
)
Path
idstring, = 36 charactersrequired

id of object

Example:7b6c5fff-036e-4a40-b68a-a67c592fc079
Bodyapplication/json

Update account

namestring, [ 1 .. 255 ] charactersrequired

Unique name for account

descriptionstring, [ 1 .. 1023 ] characters
activeboolean
Default:true
addressstring, [ 1 .. 255 ] charactersrequired

Account ID like email address, phone numbers.

channelobjectrequired
caseManagementobject(CaseManagement)
chatConfigurationsobject(ChatConfigurations)required
attributesArray of objects, [ 1 .. 10 ] items(Attribute)
modifiedstring, (date-time)

Last modified time in GMT

curl -i -X PUT \
  https://api.egain.cloud/conversation/conversationmgr/v3/accounts/7b6c5fff-036e-4a40-b68a-a67c592fc079 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "order_account",
    "address": "123456789",
    "modified": "2021-03-28T14:29:01.516Z",
    "channel": {
      "id": "45a095f4-d0ee-4220-a689-22b541c58f67"
    },
    "chatConfigurations": {
      "timeout": 30,
      "defaultLanguage": "en-US",
      "onAgentUnavailability": "off_hours",
      "orchestration": {
        "id": "c37e975f-6b2f-490f-9cac-dfa05499f744"
      },
      "entryPoint": {
        "id": "1001"
      }
    }
  }'

Responses

No Content

Response
No content