Edit Datasource
Select
SaaS
Customer Managed
This operation updates datasource directory path and display name.
- application/json
Request Body
- datasourceId integer
datasources object[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
collections object[]
{
"collections": [
{
"clientId": 0,
"computedCoreName": "string",
"description": "string",
"coreName": "string",
"cloudId": 0,
"ownerUserId": 0,
"schemaType": "string",
"createUTCTime": 0,
"coreId": 0,
"attribute": 0,
"datasources": [
{
"ownerType": 0,
"displayName": "string",
"datasourceGuid": "string",
"userId": 0,
"datasourceType": 0,
"datasourceId": 0,
"createUTCTime": 0,
"attribute": 0,
"datasourceName": "string",
"modifiedByUserId": 0,
"modifiedUTCTime": 0,
"properties": [
{
"propertyName": "string",
"propertyNameSEA": "string",
"propertyValue": "string",
"propertyId": 0
}
]
}
]
}
]
}
PUT /ediscoveryclients/datasources
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Datasources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"datasourceId": 0,
"datasources": [
{
"displayName": "string",
"datasourceType": 0,
"datasourceId": 0,
"datasourceName": "string",
"properties": [
{
"propertyName": "string",
"propertyValue": "string"
}
]
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Datasources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"datasourceId": 0,
"datasources": [
{
"displayName": "string",
"datasourceType": 0,
"datasourceId": 0,
"datasourceName": "string",
"properties": [
{
"propertyName": "string",
"propertyValue": "string"
}
]
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Datasources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"datasourceId": 0,
"datasources": [
{
"displayName": "string",
"datasourceType": 0,
"datasourceId": 0,
"datasourceName": "string",
"properties": [
{
"propertyName": "string",
"propertyValue": "string"
}
]
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Datasources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"datasourceId": 0,
"datasources": [
{
"displayName": "string",
"datasourceType": 0,
"datasourceId": 0,
"datasourceName": "string",
"properties": [
{
"propertyName": "string",
"propertyValue": "string"
}
]
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Datasources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"datasourceId": 0,
"datasources": [
{
"displayName": "string",
"datasourceType": 0,
"datasourceId": 0,
"datasourceName": "string",
"properties": [
{
"propertyName": "string",
"propertyValue": "string"
}
]
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Datasources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"datasourceId": 0,
"datasources": [
{
"displayName": "string",
"datasourceType": 0,
"datasourceId": 0,
"datasourceName": "string",
"properties": [
{
"propertyName": "string",
"propertyValue": "string"
}
]
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Datasources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"datasourceId": 0,
"datasources": [
{
"displayName": "string",
"datasourceType": 0,
"datasourceId": 0,
"datasourceName": "string",
"properties": [
{
"propertyName": "string",
"propertyValue": "string"
}
]
}
]
}'