<h1>PUT api/reportserver/v3/data-connections/{dataConnectionId}</h1>
<div>
<p>
Updates the data connection with the specified ID.
</p>

<h2>Request Information</h2>

<h3>URI Parameters</h3>
<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">dataConnectionId</td>
<td class="parameter-documentation">
<p>The data connection ID.</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
</tbody>
</table>

<h3>Body Parameters</h3>

<p></p>

<a href="/dotnet-docs/rest-api/v3/createdataconnectiondata">CreateDataConnectionData</a>

<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">Name</td>
<td class="parameter-documentation">
<p>
Specifies the data connection name.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">Description</td>
<td class="parameter-documentation">
<p>
Specifies the data connection description.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Provider</td>
<td class="parameter-documentation">
<p>
Specifies the data connection provider.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">ConnectionString</td>
<td class="parameter-documentation">
<p>
Specifies the data connection connection string.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
</tbody>
</table>
<h3>Request body formats</h3>
<div>
<h4 class="sample-header">application/json, text/json, application/*+json</h4>
<div class="sample-content">

```json
{
  "Name": "Northwind SQL Connection",
  "Description": "Provides additional context for users browsing the Report Server catalog.",
  "Provider": "System.Data.SqlClient",
  "ConnectionString": "Data Source=.;Initial Catalog=Northwind;Integrated Security=True"
}
```

</div>
</div>

<h2>Response Information</h2>

<h3>Resource Description</h3>

<p></p>

<a href="/dotnet-docs/rest-api/v3/dataconnection">DataConnection</a>

<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">Id</td>
<td class="parameter-documentation">
<p>
Data connection identifier.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">Name</td>
<td class="parameter-documentation">
<p>
Specifies the data connection name.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">Description</td>
<td class="parameter-documentation">
<p>
Specifies the data connection description.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Provider</td>
<td class="parameter-documentation">
<p>
Specifies the data connection provider.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">ConnectionString</td>
<td class="parameter-documentation">
<p>
Specifies the data connection connection string.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
</tbody>
</table>

<h3>Response Formats</h3>
<div>
<h4 class="sample-header">application/json</h4>
<div class="sample-content">

```json
{
  "Id": "160a3366cd7",
  "Name": "Northwind SQL Connection",
  "Description": "Provides additional context for users browsing the Report Server catalog.",
  "Provider": "System.Data.SqlClient",
  "ConnectionString": "Data Source=.;Initial Catalog=Northwind;Integrated Security=True"
}
```

</div>
</div>
</div>
