This API is used to set the machine group information bound to a log topic.
PUT /topic/machinegroup?topic_id=xxxx-xx-xx-xx-xxxxxxxx HTTP/1.1
Host: .cls.tencentyun.com
Authorization:
Content-Type: application/json
{
"machine_groups": ["xxxxxx-xx-xx-xx-yyyyyyyy"]
}
PUT /topic/machinegroup
There are only common request headers but no special request headers.
Field Name | Type | Location | Required | Description |
---|---|---|---|---|
topic_id | string | query | Yes | ID of the log topic to set |
machine_groups | JsonArray (string) | body | Yes | Array of machine group IDs to bind to log topic |
HTTP/1.1 200 OK
Content-Length: 0
There are only common response headers but no special response headers.
None.
For more information, please see Error Codes.
Was this page helpful?