This API is used to create a tag for an EIP.
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|
tag |
tag object |
Yes |
Specifies the tag objects. For details, see Table 3. |
Attribute |
Type |
Mandatory |
Description |
|---|---|---|---|
key |
String |
Yes |
|
value |
String |
Yes |
|
POST https://{Endpoint}/v2.0/{project_id}/publicips/{publicip_id}/tags
{
"tag": {
"key": "key1",
"value": "value1"
}
}
See Status Codes.
See Error Codes.