Skip to content

Modify HOST label



POST /api/v1/object/hosts/{host}/label/modify

Overview

Modify one/multiple labels for a HOST. After the interface call is successful, there is generally no more than 5 minutes of caching.

Route Parameters

Parameter Name Type Required Description
host string Y HOST name

Body Request Parameters

Parameter Name Type Required Description
source string Y Data source
Example: HOST
Allow empty: False
labels array Object name list
Allow empty: False

Additional Parameter Notes

Response

{
    "code": 200,
    "content": true,
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-96EDF6EA-847D-4E23-BE1B-B387257B6BFA"
} 

Feedback

Is this page helpful? ×