Deletes literals at domain/service level.
Status | ||||
---|---|---|---|---|
|
Path Variables:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
domain |
|
| Unique domain identifier |
Authorization: see Authentication mechanisms
Request Body:
Type:
Status | ||
---|---|---|
|
Name | Mandatory | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
country |
|
|
Language code | |||||||||||
level |
| Can assume one of the following values:
| |||||||||
serviceId |
|
| If level is set to “service“, specifies the service literals to insert/update |
Response:
Type:
Status | ||
---|---|---|
|
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
result |
| False if request fails. An Object containing the status of the request and the number of documents deleted in the db | ||||||||
error |
| Contains the error description if an error has occurred in the request |
Example:
Request
http://<hostname>:<port>/livechat/domain/deleteLiterals
...
Code Block | ||
---|---|---|
| ||
{
"country" : "it-it",
"level" : "service",
"serviceId" : "LiveChat_Sidebar"
} |
...