Update host tags
PUT {{baseUrl}}/api/v1/tags/hosts/:host_name
This endpoint allows you to update/replace all tags in an integration source with those supplied in the request.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
source | string | The source of the tags (for example chef, puppet). | |
Complete list of source attribute values |
Request Body
{"host"=>"test.host", "tags"=>["environment:production", "environment:production"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"host":"test.host","tags":["environment:production","environment:production"]}