Logout

This API enables you to log out of vCenter Chargeback Manager.


User Privilege

To use this API, you only need to be logged in to vCenter Chargeback Manager.

Syntax

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

Request Body Parameters

This API does not take any input request.

API Response

The API returns an XML that indicates the status of the operation. A sample response is provided here.

Error Response

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.