Update connectorsUpdates one or more connectors in Aspire. Updates will be treated as partial updates rather than overwrites. If a field is not present in the input, any previous value will remain after the update. If you wish to "delete" a value, pass a value of null Panel |
---|
borderColor | black |
---|
bgColor | #fafafb |
---|
| PUT /aspire/_api/connectors/:id
PUT /aspire/_api/connectors
|
Path and Request Body Parameters
Name | Type | Required | Description |
---|
id | string | Required | The identifier of the connector to update | type | string | Optional
| The type of the connector | description | string | Optional | An optional description of the connector |
Examples Update a single connector Code Block |
---|
| PUT /aspire/_api/connectors/AAABcID5GBc%3D
{
"id": "AAABcID5GBc=",
"connector": "c:\\testdata\\2500",
"type": "filesystem",
...
} |
Update multiple connectors Code Block |
---|
| PUT /aspire/_api/connectors
{
"AAABcID5GBc=": {
"id": "AAABcID5GBc=",
"connector": "c:\\testdata\\2500",
"type": "filesystem",
...
},
"AAABcID5GBc=": {
"id": "AAABcID5GBd=",
"connector": "c:\\testdata\\250",
"type": "filesystem",
...
}
} |
Response Code Block |
---|
| {
"connector": [{
"id": "AAABcID5GBc=",
"description": "Net App",
"type": "filesystem",
"status": "N"
}],
"message": "optional response message"
} |
Status Response code | Description |
---|
201 | Created | 404 | Not found - a given connector identifier was not found | 406 | Not acceptable - there was an issue validating the input |
|