How Do I Delete an OAuth App

You can delete the OAuth app that is associated with your your VMware Cloud services platform organization by using the VMware Cloud Director service API.

Prerequisites

  • Verify that you are assigned the Provider Administrator or the Provider Support role.
  • Obtain an API token from the organization you want to manage and exchange it for an access bearer token. Use the bearer token in the Authorization header when you run API calls. See How Do I Generate an API Token.
  • Obtain the organization ID (URN). See How Do I Retrieve the ID of My Organization.

Procedure

  • Run a DELETE request.
    DELETE https://operatorUrl/organizations/organization-Urn/configuration/cspCredentials

    Here operatorUrl is the operator URL, for example vcdc-operator-prod-us-west-2.vdp.vmware.com.

Results

When you delete the OAuth app, the trust relationship between VMware Cloud Director service and the VMware Cloud organization ceases to exist. Attempts to create or delete a VMware Cloud Director instance, to associate a custom domain, or to configure VMware Cloud services as an identity provider for a VMware Cloud Director instance would result in failure until you create a new OAuth app.