Queries all databases on which a user has permissions.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Response parameters

Parameter Type Example Description
Code String No error code in most cases

The error code returned if an error occurs. In most cases, no error code is returned for this API request.

Data Array of String db001

The names of the databases on which a user has permissions.

Message String No error message in most cases

The error message returned if an error occurs.

RequestId String 9BEAC206-0795-4DE3-B1FD-964BEF432B23

The ID of the request.

Success Boolean true

Indicates whether the request is successful.

Examples

Sample requests

http(s)://[Endpoint]/?&<Common request parameters>

Sample success responses

XML format

<RequestId>9BEAC206-0795-4DE3-B1FD-964BEF432B23</RequestId>
<Data>[ db001 ]</Data>
<Success>true</Success>

JSON format

{
    "RequestId": "9BEAC206-0795-4DE3-B1FD-964BEF432B23",
    "Data": "[ db001 ]",
    "Success": "true"
}

Error codes

For a list of error codes, visit the API Error Center.