Version 4.0.26.18 (latest)
Update User DB Connection
Updates an existing user DB connection (only enabling/disabling is allowed via the write limits in UserDbConnectionMapper).
Request
PATCH
/user_db_connections/{user_db_connection_id}
Datatype
Description
Request
path
Expand HTTP Path definition...
user_db_connection_id
Id of user DB connection
body
Expand HTTP Body definition...
body
User DB Connection
Expand UserDbConnection definition...
can
lock
Operations the current user is able to perform on this object
id
lock
ID of the connection
name
lock
Name of the connection (must match virtual namespace pattern)
user_id
lock
ID of the user who owns the connection
dialect
lock
Database dialect name
auth_type
lock
Authentication type (oauth, service_account, password)
host
lock
Host name/address of server
port
lock
Port number on server
database
lock
Database name
schema
lock
Schema name
jdbc_additional_params
lock
Additional JDBC parameters
oauth_application_id
lock
OAuth application ID (if auth_type is oauth)
enabled
Whether this connection is enabled
created_at
lock
When the connection was created
updated_at
lock
When the connection was last updated
Response
200: User DB Connection
Datatype
Description
(object)
can
lock
Operations the current user is able to perform on this object
id
lock
ID of the connection
name
lock
Name of the connection (must match virtual namespace pattern)
user_id
lock
ID of the user who owns the connection
dialect
lock
Database dialect name
auth_type
lock
Authentication type (oauth, service_account, password)
host
lock
Host name/address of server
port
lock
Port number on server
database
lock
Database name
schema
lock
Schema name
jdbc_additional_params
lock
Additional JDBC parameters
oauth_application_id
lock
OAuth application ID (if auth_type is oauth)
enabled
Whether this connection is enabled
created_at
lock
When the connection was created
updated_at
lock
When the connection was last updated
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
403: Permission Denied
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
422: Validation Error
Datatype
Description
(object)
message
lock
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
Field with error
code
lock
Error code
message
lock
Error info message
documentation_url
lock
Documentation link
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link