This API is used to add tags to specified streams.
POST /v2/{project_id}/stream/{stream_id}/tags
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Project ID. |
stream_id |
Yes |
String |
Stream ID. Maximum: 60 |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. The token can be obtained by calling the IAM API (value of X-Subject-Token in the response header). |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
tag |
Yes |
Tag object |
Label object. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
key |
No |
String |
Key.
Minimum: 1 Maximum: 36 |
value |
No |
String |
Value.
Minimum: 0 Maximum: 43 |
None
Adding Tags for Specified Streams
POST https://{Endpoint}/v2/{project_id}/stream/{stream_id}/tags
{
"tag" : {
"key" : "key",
"value" : "value"
}
}
None
Status Code |
Description |
|---|---|
204 |
Normal response. |
See Error Codes.