[{"label":"Latest (v1.1)","version":"latest"}]
vmc

Delete Connected Accounts

Description

Delete a particular connected (linked) account.

Request

Request

URL

URL


delete
https://vmc.vmware.com/vmc/api/orgs/{org}/account-link/connected-accounts/{linkedAccountPathId}
Copy

Path Parameters

Path Parameters

string
org Required

Organization identifier


string
linkedAccountPathId Required

The linked connected account identifier


Query Parameters

Query Parameters

boolean
forceEvenWhenSddcPresent Optional

When true, forcibly removes a connected account even when SDDC’s are still linked to it.


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns AwsCustomerConnectedAccount of type(s) application/json
This response body class contains all of the following: AbstractEntity, InlineAwsCustomerConnectedAccount1
Errors

Errors

ErrorResponse
400

An invalid connected account ID was specified, or the connection still has SDDCs active on it.


401

Unauthorized


403

Forbidden

Code Samples

Code Samples

PowerCLI Client SDK Example

Invoke-OrgsOrgAccountLinkConnectedAccountsLinkedAccountPathIdDelete -Org "MyOrg" -LinkedAccountPathId "MyLinkedAccountPathId" -ForceEvenWhenSddcPresent $true

cURL Command

curl -X DELETE https://vmc.vmware.com/vmc/api/orgs/{org}/account-link/connected-accounts/{linkedAccountPathId}
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: connected-accounts
x-vmw-vapi-methodname: delete


Feedback

Was this page helpful?