EMC ViPR REST API

Search (SHIFT+S)

API Reference


Delete Network

POST /vdc/networks/{id}/deactivate

Deactivate network, this will delete a manually created network. The network must be deregistered and has no endpoints. When force is set to true the network can be deleted even if it has endpoints.

idthe URN of a ViPR Network

Query Parameters

forceif set to true will delete a network even if it has endpoints

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • RESTRICTED_SYSTEM_ADMIN

Request Payload

No Request Payload


Response Body

No data returned in response body


XML Example

Request
POST https://192.168.0.0:4443/vdc/networks/urn:storageos:Network:14d241e0-4cf1-4837-bb2d-6b94efa8928e:/deactivate HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml