Direct Path Profile Manager Direct Path Profile Manager Delete

Direct Path Profile Manager Direct Path Profile Manager Delete

Delete a DirectPath profile.

Since: vSphere API Release 9.0.0.0

Required privileges: DirectPathProfileManager.Manage

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/DirectPathProfileManager/{moId}/DirectPathProfileManagerDelete
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case DirectPathProfileManager/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
Required
"DirectPathProfileManagerDeleteRequestType Object"
string
id
Required

Unique identifier of the DirectPath profile to be deleted.

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

500

NotFound: If there is no DirectPath profile found with the specified identifier.

ResourceInUse: If the DirectPath profile with the specified identifier is being used by a VM or associated with a VM resource profile.

Returns VimFault of type(s) application/json
This response body class contains all of the following: InlineVimFault0
"VimFault Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/DirectPathProfileManager/{moId}/DirectPathProfileManagerDelete