Update Data Source
This method allows you to update a previously created data source using its ID.
You can obtain the ID of the data source to update either from the API response when you created the data source, or by listing the available data sources.
It is sufficient to provide the fields that should be changed. To reset/remove a
property from the data source, use the null
value.
data_source_id
{
"name": "string",
"description": "string"
}
Name of the data source.
Description of the Data Dource.
Credentials used when accessing the data source.
Options used when interacting with the data source.
Successful Response
"DataSource Object"
id
URL of the source of data that can be accessed via this data source.
Name of the data source.
Description of the data source.
Type of the Data Source.
Object type, which is always data_source
.
Unix timestamp (in seconds) when the data source was created.
Unix timestamp (in seconds) when the data source was last updated.
Options used when interacting with the data source.
Invalid data source ID.
Validation Error
"HTTPValidationError Object"
detail
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'