Creates a tag option.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Key | string | Yes | The key of the tag option. The key can be up to 128 characters in length. It cannot start with | k1 |
Value | string | Yes | The value of the tag option. The value can be up to 128 characters in length. It cannot start with | v1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"TagOptionDetail": {
"Active": true,
"TagOptionId": "tag-bp1r3mxq3t****",
"Key": "k1",
"Value": "v1",
"Owner": "133413081827****\n"
},
"RequestId": "A48A5F12-6098-54A1-A389-6834AF27****"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
500 | InternalError | A system error occurred. |
For a list of error codes, visit the Service error codes.