ServerDelete

This will remove a server from a VDC.

NOTE: This will not automatically remove the storage volume(s) attached to a server. A separate API call is required to perform that action.

knife ionoscloud server delete SERVER_ID [SERVER_ID] (options)

Available options:

Required options:

  • datacenter_id

    ionoscloud_url: --url URL
        the Ionoscloud API URL

    extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
        path to the additional config file

    datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
        name of the data center (required)

    ionoscloud_username: --username USERNAME, -u USERNAME
        your Ionoscloud username

    ionoscloud_password: --password PASSWORD, -p PASSWORD
        your Ionoscloud password

    ionoscloud_token: --token PASSWORD
        your Ionoscloud access token

Example

knife ionoscloud server delete SERVER_ID 

Last updated