Azure Cosmos DB: Private Endpoint Connection
Azure Cosmos DB Database Service Resource Provider REST API
Data & analytics#openapi#cloud
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Azure Cosmos DB Database Service Resource Provider REST API
Endpoints 4
PrivateEndpointConnections
- GETPrivateEndpointConnections_ListByDatabaseAccount
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/:accountName/privateEndpointConnectionsList all private endpoint connections on a Cosmos DB account. - GETPrivateEndpointConnections_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/:accountName/privateEndpointConnections/:privateEndpointConnectionNameGets a private endpoint connection. - PUTPrivateEndpointConnections_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/:accountName/privateEndpointConnections/:privateEndpointConnectionNameApprove or reject a private endpoint connection with a given name. - DELETEPrivateEndpointConnections_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/:accountName/privateEndpointConnections/:privateEndpointConnectionNameDeletes a private endpoint connection with a given name.
API details
- Base URL
https://management.azure.com- Authentication
- OAuth 2.0 (implicit flow) with 1 scope
- Operations
- 4 operations on 2 pathsGET 2PUT 1DELETE 1
- Main resources
- PrivateEndpointConnections 4
- Response formats
application/json- Description format
- Swagger 2.0, API version
2025-10-15 - Links
- OpenAPI document
How to test the Azure Cosmos DB: Private Endpoint Connection in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Cosmos DB: Private Endpoint Connection collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “PrivateEndpointConnections_ListByDatabaseAccount” (GET /subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/:accountName/privateEndpointConnections), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Azure Cosmos DB: Private Endpoint Connection?
Azure Cosmos DB Database Service Resource Provider REST API It is listed under Data & analytics and has 4 endpoints.
Who publishes the Azure Cosmos DB: Private Endpoint Connection?
It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Azure Cosmos DB: Private Endpoint Connection?
Requests go to https://management.azure.com. Endpoint paths are added to this base URL.
How do I authenticate with the Azure Cosmos DB: Private Endpoint Connection?
With OAuth 2.0 (implicit flow) with 1 scope.
How many endpoints does the Azure Cosmos DB: Private Endpoint Connection have?
4 operations on 2 paths (2 GET, 1 PUT, 1 DELETE). The largest groups are PrivateEndpointConnections.
Is forking the Azure Cosmos DB: Private Endpoint Connection free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.