Update host tags

PUT {{baseUrl}}/api/v1/tags/hosts/:host_name?source=tempor Ut sed velit

This endpoint allows you to update/replace all tags in an integration source with those supplied in the request.

Request Params

KeyDatatypeRequiredDescription
sourcestringThe 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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"host":"test.host","tags":["environment:production","environment:production"]}