Edit tag value in the Tags Dictionary
PUT {{api-server}}/{{Filerobot-Token}}/tag/:tag_uuid
This API endpoint is used to edit the language variants of the tags.
It requires the UUID of the tag that should be modified. The UUID can be taken from the GET List of tags response.
Body parameters:
Name: | Description: | Syntax: | Value/Example: |
---|---|---|---|
lang | The language that needs to be modified | The language should exist in the project's configuration, prior to be used. | "lang": "fr" |
value | The new value of the tag | "value": "Textile" |
Request Body
{"lang"=>"fr", "value"=>"Textile"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
X-Filerobot-Key | string |
RESPONSES
status: OK
{"status":"success","duration":0.26,"api_version":{"hash":"b0d23b8fa1ae371a4966d57ae5237d65ced42d32","datetime":"2024-06-19T11:07:33+07:00","module":"elastic_v2"},"tag":{"uuid":"26fb81b0-fce3-4cfa-917e-af8817c0b19e","sid":"#tg008e6","slug":"slug_00dc311e","names":{"en":"textile","fr":"Textile"},"primary":false,"created_at":"2023-02-26T14:18:28.067785Z","updated_at":"2024-06-19T15:59:03.938488Z"}}