/api/ee/database-routing

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

Changed on

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}

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Path parameters

idinteger required

value must be an integer greater than zero.

Request body

user_attributestring nullable

value must be a non-blank string.

Response

Successful response

Changes

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      api operation id put-api-ee-database-routing-router-database-id was added