forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
8.9 KiB
8.9 KiB
Modifying Predefined Tags
Function
This API is used for modifying predefined tags.
URI
PUT /v1.0/predefine_tags
Request
- Parameter description
- predefine_tag_request field description
Table 2 Parameter description Name
Mandatory
Type
Description
key
Yes
String
Specifies the key.
It cannot be left blank and can contain a maximum of 36 Unicode characters. Can contain only digits, letters, hyphens (-), and underscores (_).
value
Yes
String
Specifies the value.
Each value contains a maximum of 43 Unicode characters and can be an empty string. Can contain only digits, letters, hyphens (-), and underscores (_).
- Example request
PUT https://{TMS endpoint}/v1.0/predefined_tags
{ "new_tag": { "key": "ENV1", "value": "DEV1" }, "old_tag": { "key": "ENV2", "value": "DEV2" } }
Status Codes
See Status Code.
Error Codes
Parent topic: Predefined Tag Operations