You can use the API to delete a specific certificate from an edge gateway.

1

Log in to vCloud Air as an administrator. See Log in to vCloud Air for information.

2

Create a login session with vCloud Director. See Create a Session for a Virtual Data Center in a Service for information.

3

Using the vCloud API, query vCloud Director for the ID of the edge gateway from which to delete the certificate.

Issue the following request:

DELETE https://serverAddress/hybridity/api/gateways/gatewayId/certificates/certificateId

In the request header, include the OATH token and the Accept header that you obtained when creating a login session:

Accept: application/json
Content-Type: application/json
X-Vcloud-Authorization: "vcloud-auth-token"

The server returns status 204 NO CONTENT in the response header. The server does not return a response body.