This API enables you to log out of vCenter Chargeback Manager.
To use this API, you only need to be logged in to vCenter Chargeback Manager.
The syntax for calling this API is:
PUT <Base_URL>/logout
A sample API call is as follows:
PUT https://123.123.123.123/vCenter-CB/api/logout
This API does not take any input request.
The API returns an XML that indicates the status of the operation. A sample response is provided here.
The following table explains the error codes displayed by the API.
Error code |
Description |
VCENTER_COMMON_ERR_USER_NOT_AUTHENTICATED |
User is not authenticated to perform this operation. |