Skip to Content
SeyloDocs
API referenceDatabases

Reset a database password

POST
/api/v1/databases.resetPassword

Sets a new password for the admin user (internal) or the exposed user. Services that reference the password get it on their next deploy or restart; anything else using the old password stops connecting.

Needs databases.credentials on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
serviceId*string

Panel-issued id.

Match^[a-z0-9]{16}$
user*string|string
password?string
Match^[A-Za-z0-9._~-]+$
Length12 <= length <= 128

Response Body

Success.

application/json
  1. response
password*string
affectedServiceIds*array<>
Example Request
curl -X POST 'https://example.com/api/v1/databases.resetPassword' \  -H 'Content-Type: application/json' \  -d '{  "serviceId": "string",  "user": "internal"}'
Example Response
{  "password": "string",  "affectedServiceIds": [    "string"  ]}