Update credential(s)Update one or more credentials 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/credential |
Request Body Parameters
Name | Type | Required | Description |
---|
id | string | Required | The identifier of the seed to update | type | string | Required | The type of connector to use for this seed (may be omitted if connector is specified) | description | string | Optional | An optional description of the seed |
Other parameters passed in the request body will depend on the type of credential being created - see Credential API above Examples Update a single credential Code Block |
---|
| {
"id": "AAABcID5GBc=",
"type": "filesystem"
"description": "Europe Net Appliance"
...
} |
Update multiple credentials Code Block |
---|
| [{
"id": "AAABcID5GBc=",
"type": "filesystem"
"description": "Europe Net Appliance"
...
},
{
"id": "AAABcIueWUc=",
"type": "sharepoint"
"description": "SP Online"
...
}] |
Response Code Block |
---|
| {
"credential": [{
"id": "AAABcID5GBc=",
"type": "filesystem"
"description": "Europe Net Appliance"
...
},
{
"id": "AAABcIueWUc=",
"type": "sharepoint"
"description": "SP Online"
...
}],
"message": "optional response message"
} |
Status Response code | Description |
---|
201 | Created | 404 | Not found - a given seed identifier was not found | 406 | Not acceptable - there was an issue validating the input |
|