v12

latestOpenAPI 3.1.0AGPL-3.0raw.githubusercontent.com2026-05-286377631.6 MB
/api/ee/database-routing

PUT /api/ee/database-routing/router-database/{id}

Updates an existing Database with the user_attribute to route on. Will either:

  • turn an existing Database into a Router database
  • change the user_attribute used to route for an existing Router database, or
  • turn a Router database into a regular Database depending on the value of user_attribute
put/api/ee/database-routing/router-database/{id}

Path parameters

idinteger required

value must be an integer greater than zero.

Request body

user_attributestring nullable

Response

Successful response