P
Prisma•4mo ago
ByteBuf

Prisma Console API access?

I'm looking to update the database connection string used for Prisma Accelerate automatically. Is there an API available with which I can do this?
No description
3 Replies
Nurul
Nurul•4mo ago
Hey @ByteBuf 👋 We have Platform CLI in Early Access that allows to perform certain operations via CLI commands. Updating the connection string is not one of them yet. Thanks for sharing the feedback though, I have shared this internally. https://www.prisma.io/docs/platform/platform-cli/about
Platform CLI: About | Prisma Documentation
This guide demonstrates how to access the Prisma Data Platform using the Prisma CLI. Get started by ensuring you have the Prisma CLI installed, following our setup instructions.
Nurul
Nurul•4mo ago
One alternative would be that you could disable Accelerate for your environment and enable it again with the updated connection string. Here are the commands: https://www.prisma.io/docs/platform/platform-cli/commands#accelerate-disable https://www.prisma.io/docs/platform/platform-cli/commands#accelerate-enable
Platform CLI: Commands | Prisma Documentation
This document describes the Prisma Data Platform's integrated Prisma CLI commands, arguments, and options.
ByteBuf
ByteBuf•4mo ago
Looks good! Thanks for your help.
Want results from more Discord servers?
Add your server