Deleting All Connections Related to the Specified Host

DELETE /connection/host/{host_id}

Introduction

Deletes all the Connections related to the Host specified by host_id.

Caution
  • If the specified Host has more than one LUN Group set with Affinity, the RESTful API will respond with an error due to an unsupported configuration.

  • You cannot delete a Connection with the Host described below. If you want to delete it, use ETERNUS SF Storage Cruiser.
    • Host with Storage Cluster settings

    • Host with VVOL Access Path settings

  • For tenant users, only the Connection that is related to the Host that belongs to the tenant of the current user can be deleted.

Request Examples

  • This is an example of deleting all Connections for Host with Host ID 2.

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

Response Examples

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

Parameters

PATH PARAMETERS

host_id

(required)

integer

Host ID.

Responses

If successful, the HTTP status code is 202 (Accepted) and the response body is returned.

RESPONSE BODY

job_id

integer

Job ID.

job_href

string

Resource link of the job.