Deleting a Host

DELETE /host/{host_id}

Introduction

Deletes a Host.

Caution
  • Only FC Hosts and iSCSI Hosts can be deleted.

    If a Connection is set for this Host, an error occurs. Delete the Connection and try again.

  • For tenant users, only Hosts that belong to the tenant of the current user can be deleted.

Request Examples

  • This is an example of deleting an FC Host with Host ID 2.

    $ curl -i -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X DELETE "https://192.168.1.1:5665/api/v1/host/2"

Response Examples

{
  "job_id": 8192001,
  "job_href": "/api/v1/job/8192001"
}

Parameters

PATH PARAMETERS

host_id

(required)

integer

Host ID.

Responses

If the job registration is successful, the HTTP status code will be 202 (Accepted) and the response body will respond.

RESPONSE BODY

job_id

integer

Job ID.

job_href

string

Resource link of the job.