How to Delete Cluster BluePrint and HostConfig Using Resmgr API

How to Delete Cluster Blueprint and HostConfig Using Resmgr API?

Problem

An existing cluster blueprint and host config cannot be deleted through the user interface (UI).

Environment

  • Private Cloud Director Virtualization - v2025.4 and Higher

  • Self-Hosted Private Cloud Director Virtualization - v2025.4 and Higher

  • Component - Blueprint

Procedure

circle-exclamation
  1. Retrieve the token:

$ token=$(openstack token issue -f value -c id)
  1. Get the list of Blueprints and Hostconfigs

$ curl -s -X GET   -H "X-Auth-Token: $token"   https://<FQDN>/resmgr/v2/blueprint  | jq '.[] | {name}'
$ curl -s -X GET   -H "X-Auth-Token: $token"   https://<FQDN>/resmgr/v2/hostconfigs  | jq '.[] | {id, name}'
  1. Delete the required Blueprint and Hostconfig

Validation

Last updated