Modify Host Label¶
POST /api/v1/object/hosts/{host}/label/modify
Overview¶
Modify one or more labels of a host. After the API call is successful, there is usually a cache of no more than 5 minutes.
Route Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
host | string | Y | Hostname |
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
source | string | Y | Data source Example: HOST Allow empty: False |
labels | array | List of object names Allow empty: False |