Update thesaurus entry

put

/gsadmin/v1/{appName}/thesaurus/{thesaurusEntryId}

Updates thesaurus entry in the specified application.

Request

Supported Media Types
Path Parameters
Body ()
The request body represents the updated thesaurus.
Root Schema : ThesaurusEntry
Type: object
Represents the thesaurus entry in the ECR.
Show Source
Nested Schema : synonyms
Type: array
Show Source
Security
Back to Top

Response

Supported Media Types

202 Response

Thesaurus entry successfully updated.
Body ()
Root Schema : Response
Type: object
Show Source
Back to Top

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"
}
Back to Top