List sessions by database

Returns list of server sessions by server and database.

This operation takes two path parameters: instanceName and databaseName.

🍐

Role-based Permissions

To perform this operation, a principal must belong to a group that has been assigned the Data Bridge Admin role.

Path Params
string
required

Name of managed SQL Server instance.

string
required

Name of database.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

Bad Request. Some of the provided parameters were not valid.

404

Not found. The entity you are trying to interact with does not
exist.

500

Internal Server Error. If the problem persists you may want to
contact the Administrator.

Language
URL
Response
Choose an example:
application/json
text/plain
text/json