Update thesaurus entry
put
/gsadmin/v1/{appName}/thesaurus/{thesaurusEntryId}
Updates thesaurus entry in the specified application.
Request
Supported Media Types
- application/json
- application/zip
Path Parameters
-
appName: string
Specifies the name of your application. For example, "cloud".
-
thesaurusEntryId: string
Specifies the id of the thesaurus entry.
The request body represents the updated thesaurus.
Security
-
basicAuth: basic
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
202 Response
Thesaurus entry successfully updated.
Examples
Request Body Example
The following example shows how to modify the value of existing thesaurus entries. In this example, the synonym is changed from blouse to jersey
{ "ecr:type" : "thesaurus-entry", "type": "one-way", "synonyms": [ "jersey" ] "searchTerms": "shirt" }