HostRebuildCancel

Cancel a rebuild for a host.

The host must be in Rebuild state for this method to work. In order to cancel a rebuild for a host, the user must have permission to rebuild the host, that is, they must either:

URL

/cubit_api/1/rebuild_cancel

Authentication

This method requires authentication using an API key.

Parameters

host ( Required, once )
Fully qualified hostname to cancel rebuild of. Hosts must be in the Rebuild state.
Type: String
sig ( Required, once )
API authentication hash signature.
Type: String
userid ( Required, once )
The login name of the user initiating the request.
Type: String

Example Response

        
    Successful host rebuild cancel:
    <?xml version='1.0'?>
    <cubit version='1'>
        <status>OK</status>
    </cubit>

    If the user is unauthorized:
    <?xml version='1.0'?>
    <cubit version='1'>
        <error>You are not authorized to cancel a rebuild for this host.</error>
    </cubit>
    

Response Codes