Deactivate node in PuppetDB via REST API

If you ever need to delete or deactivate (deactivate is a more appropriate word in PuppetDB context) a node in your PuppetDB, follow these steps. First: List your nodes. curl ‚http://localhost:8080/v2/nodes‘ Second: List details of your node you want to deactivate curl ‚http://localhost:8080/v2/nodes/<fqdn>‘ { „name“ : „<fqdn>“, „deactivated“ : null, „catalog_timestamp“ : null, „facts_timestamp“ : […]