$customHeader
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Method description

Delete a synonym from an instance.

Security

The calling user must have the EB_ROOT, EB_ADMIN, EB_APP, SEARCH_ADMIN or SEARCH_MANAGER role for this instance or the global instance.

Parameters

None

Response codes

HTTP codeDescription
200Link deleted
401The user does not meet the security criteria
404Link not found


Response format

A 200 OK response will contain a single object with the deleted synonym data.

{
  "type": "catalog",
  "lang": "en",
  "enabled": true,
  "synonyms": [
    "yellow"
  ],
  "alternatives": [
    "lemon",
    "banana"
  ],
  "extra": {
    "user": "username"
  },
  "batched": false,
  "id": "586c267572c547cdcb51be9c",
  "created_on": "2017-01-03T22:32:21"
  "updated_on": "2017-01-03T22:32:21"
}

Dependencies

service namepurpose
MongoDBsimple database storage
  • No labels