Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Deletes literals at domain/service level.

Status
colourYellow
titleHTTP POST
/livechat/:domain/deleteLiterals

Path Variables:

Name

Mandatory

Type

Description

domain

Status
colourRed
titleyes

Status
titlestring

Unique domain identifier

Request Body:

Type:
Status
titlejson

...

Name

Type

Description

result

Status
titleboolean
/
Status
titleobject

False if request fails.

An Object containing the status of the request and the number of documents deleted in the db

error

Status
titleNULL
/
Status
titleSTRING

Contains the error description if an error has occurred in the request

Example:

Request

http://<hostname>:<port>/livechat/domain/deleteLiterals

Request body

Code Block
languagejson
{
  "country" : "it",
  "level" : "service",
  "serviceId" : "LiveChat_Sidebar"
}

...