Pbm Profile Profile Manager Pbm Delete
Deletes one or more profiles.
If the method successfully deletes a profile, its identifier is no longer valid.
Required privileges: StorageProfile.Update
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 PbmProfileProfileManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Show optional properties
{
"profileId": [
{
"uniqueId": "string"
}
]
}
{
"profileId": [
{
"_typeName": "string",
"uniqueId": "string"
}
]
}
Array of result objects, one for each profile specified in the call to the PbmDelete
method.
The result object contains the profile ID and, if an error occurred, it also describes the fault. The method can return one of the following faults if the profile cannot be deleted:
- InvalidArgument - Profile is not recognized by the system.
- PbmFaultProfileStorageFault - Internal service error.
- PbmResourceInUse - Profile is still associated with an entity.
[
{
"_typeName": "string",
"profileId": {
"_typeName": "string",
"uniqueId": "string"
},
"fault": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
}
]