v52

OpenAPI 3.0.0raw.githubusercontent.com2026-08-034240919.6 KB
Host

    Update the specified host.
    Note, this is only supported when Ceph Orchestrator is enabled.
    :param hostname: The name of the host to be processed.
    :param update_labels: To update the labels.
    :param labels: List of labels.
    :param maintenance: Enter/Exit maintenance mode.
    :param force: Force enter maintenance mode.
    :param drain: Drain host
    
put/api/host/{hostname}

Path parameters

hostnamestring required

Hostname

Request body

drainboolean

Drain Host

forceboolean

Force Enter Maintenance

labelsstring[]

Host Labels

maintenanceboolean

Enter/Exit Maintenance

update_labelsboolean

Update Labels

Response

Resource updated.

object required