Connections

Create connection

Creates a new connection for the specified database.

post/v1/connections

Request

  • Base URL: https://api.prisma.io
  • URL: https://api.prisma.io/v1/connections
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://auth.prisma.io/authorize, token URL https://auth.prisma.io/token, scopes: workspace:admin, offline_access)
    • HTTP bearer

Request body

databaseIdstring required
namestring required

Response

Created a new connection.

Changes

No recorded changes to this operation across all 1 revision of this API.