Delete LDAP Server Settings

Deletes settings for the LDAP server from vCenter Chargeback Manager. The changes take effect immediately.

Syntax

The syntax for calling this API is:

DELETE <Base_URL>/ldapServer/{ldapServerId}

A sample API call is as follows:

DELETE https://123.123.123.123/vCenter-CB/api/ldapServer/1

User Privilege

Only a superuser or Administrator can delete an LDAP server.

Request Body Parameters

This API does not take any input parameters.

API Response

If the request succeeds, the API deletes the LDAP server settings from vCenter Chargeback Manager. The response XML provides the status of the operation.

A sample response is provided here.

Error Response

The following table describes the possible error codes.

Error code

Description

VCB_ERR_LDAP_SERVER_NOT_FOUND

Returned if you specify an invalid LDAP Server Id