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

Authorization: see Authentication mechanisms

Request Body:

Type:
Status
titlejson

Name

Mandatory

Type

Description

country

Status
colourRed
titleYES

Status
titleSTRING

Language code

level

Status
colourRed
titleyes

Can assume one of the following values:

  • tenant

  • service

serviceId

Status
titleNO

Status
titlestring

If level is set to “service“, specifies the service literals to insert/update

Response:

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

...