Deleting a data center

Ops Center Common Services REST API Reference Guide

Version
10.7.x
File Size
577 KB
Audience
anonymous
Part Number
MK-99OPS003-03
The following request deletes a registered data center.

Execution permission

You must be a system administrator or a security administrator.

Request line

DELETE base-URL/app/v1/datacenters/object-ID-of-the-data-center

Request message

Object ID of the data center

Specify the value of id acquired by using the request for getting information about a list of data centers.

Attribute

Type

Description

id

string

(Required) Object ID of the data center

Query parameters
None.
Body
None.

Response message

Body
None.

Coding example

curl -v -X DELETE -s "https://example.com:443/portal/app/v1/datacenters/8a44f59a6f7d6b59016f7ee8cc210001" -H "Authorization:Bearer eyJhbxxx"
Tip: Because this request uses SSL communication, you must either run the curl command with the root certificate of the Common Services server certificate specified for the --cacert option, or run the command with the -k option specified. (The -k option runs the command by ignoring SSL errors.)