Delete With Credentials Links
Deletes an existing hybrid link. This API should be used when unlink is initiated from cloud vCenter. Usage beyond VMware Cloud on AWS is not supported.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the hybrid link. The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.Links.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
This is a request body class for an operation.
{
"credentials": {
"password": "string",
"user_name": "string"
}
}
Credentials to use for authentication to the remote system. This parameter is currently required. In the future, it may become optional.
Authentication
Errors
Errors
com.vmware.vapi.std.errors.not_found : if the hybrid link associated with link does not exist.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: post
x-vmw-doc-deprecated-path: /rest/hvc/links/{link}?action=delete
x-vmw-doc-operation: delete_with_credentials