Deletes settings for the LDAP server from vCenter Chargeback Manager. The changes take effect immediately.
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
Only a superuser or Administrator can delete an LDAP server.
This API does not take any input parameters.
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.
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 |