Deleting Attributes of host using API

This forum was archived to /woltlab and is now in read-only mode.
  • Hi I have added an attribute to the host, i want to delete that attribute, i didn't found that query in the API.

    this is the Query i used for adding attribute.


    curl -k -s -u root:XXXX -H 'Accept: application/json' -X POST 'https://localhost:5665/v1/objects/hosts/Client' -d '{ "attrs": { "vars.Host Status" : "Active" } }' | python -m json.tool


    now i want to delete this attribute.

    could some one help me with the Query.