v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
App Connections

Create a MongoDB Connection.

post/api/v1/app-connections/mongodb

Request body

method'username-and-password' required

The method used to authenticate with MongoDB.

namestring required

The name of the MongoDB Connection to create. Must be slug-friendly.

descriptionstring nullable

An optional description for the MongoDB Connection.

projectIdstring

The ID of the project to create the MongoDB Connection in.

isPlatformManagedCredentialsfalse

Not supported for MongoDB Connections.

gatewayId'null' nullable

Not supported for MongoDB Connections.

gatewayPoolId'null' nullable

Not supported for MongoDB Connections.

isAutoRotationEnabledfalse

Not supported for MongoDB Connections.

rotation'null' nullable

Not supported for MongoDB Connections.

Response

Default Response