tencent cloud

Feedback

Setting Machine Group Bound to Log Topic

Last updated: 2022-02-24 17:06:01

    Feature Description

    This API is used to set the machine group information bound to a log topic.

    Request

    Sample request

    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"]
    }
    

    Request line

    PUT /topic/machinegroup
    

    Request header

    There are only common request headers but no special request headers.

    Request parameters

    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

    Response

    Sample response

    HTTP/1.1 200 OK
    Content-Length: 0
    

    Response header

    There are only common response headers but no special response headers.

    Response parameters

    None.

    Error Codes

    For more information, please see Error Codes.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support