Workspace data source accounts API

Update workspace credentials

PUT /api/workspaces/:workspace_id/data_source_account

Parameters

Name Description
workspace_id The id of a workspace
data_source_id The id of a data source
db_username User name for connection
db_password Password for connection

Request

Headers

Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: _session_id=VndqSnY2UGZ3TjlBSUVvR1hKQ1NPQkFuK2Z6KzN6Rm5oY25mclh0bkF4b2hIT1h5UTJyakJpUWwwV3pvVzdOMjczYlhja3VCc0EwRWdEZ0JsektsK3RVejRWTmFFYjVyMXdvMTlDUzB2Ukg1NWsybTJFL05xblpDRnZGSXNReXRlRE1mbytubG1LSVFtdVYrRk94K09IU0lucmp1TmluREp1a3p6c2pHb25mZjF2cmcyWFRCOWNKbGJmaW5UVmdwOVovc2Jwc2xqWS9jbndRaDJES3VQVmlmS0tsTU1uSjNZTDk4WTJiaHhMcFFOTlk3U2RraVg3RXJEbW9IdU1tck53UXNnRG14bUFmVHhXdnZ6ekZZVE9BVGpNSTJ4ZVZUK2ZUNzFSU0RyVnRrZmt5ODJvdnRrZ05iYjkvZ1BxWkFBY3J6RWEzeGRpeXYyaDJGY1B0MHlhdzZoSlYrV1gzR0VCa2tqczJZdzIwbHUxeDk3MmVPUVp6V2Y1T0JEczhYd2tZTkRhZ2c0ODMrczk4STRTZ1JlZEF0MGZFZDllKzNEL0RqRWFTRks5OD0tLUlJUzVZSFhvNE1UUUkwVGgrZjByd2c9PQ%3D%3D--ca9af13ac0e7c8bcc776939dd1dbfec685294c51

Route

PUT /api/workspaces/1000008/data_source_account

Body

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"5cbde40fa8879cb907159f86dccce6b6"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: _session_id=dWNzeGJHMWhNSW43Ry9VQWp3azU5Qzh4M3d2eVR0MVo5Ni9PUy9LSXNpYlpyaTl6dno3WW9XSHJoK3Exc1kwblUyWjBUZ3VhbXp4dDBoelY1QXNFMVJmOXd5UUljcEJzRkcxMG5CQWFrSTRzaUlPY1lENGJWbTVxUzc1ZzdFM3FoV0ZpOENnamJyUGx4UUl0aXNtRzhJSEJhaEtXR1JsQW1hRG5aazRDNVAwMzZoMU1odzNJS1RHclVBZFJYajZDcEdzRWlCdEtFUFBMZFVjNTN4TXg1ZGhYRVBmQ0hTbU1RTGp2RlJic2NKZGpDcFIrQm9vNStkQ2JFbFdTaHVSRjFaOWl6dHVacytBMUFWSldrc1Y4UGtwSjV0MzBsK2NPbWlKSXpRT2d0SzdLbWhsa0poRFFvL0lKNThETUswT2FHa0pidkRmQVkwZm9zNmd6K3VvSDJCengydVlDNkVjK3pmV3o2ZjRVV3FlTHhOQXBmS1BZSy80OFNXQVEzY1FkWDZsa2dvdDhVNldTOWlBMVc5UlEwdHhaTzd0RnJmUkJwY3NpZ3pqNE90OENRWXF5OC9odEdLZ21NSTBibjNLUXhkdVArVmI0aXYrRXBIY0RmN1lZNUE9PS0tMmp5aHlRWW9OWERudjg5alNQNjlHdz09--e473b331b6ff66cbd8c079fb65fd970656e0c90f; path=/; HttpOnly
X-Request-Id: e48ed8e8-b2b4-4358-83de-1a62c37e40b9
X-Runtime: 0.079579
Content-Length: 3226

Status

200 OK

Body