Opensearch dashboards.savedobjectsclient.update
Home > opensearch-dashboards > SavedObjectsClient > update
SavedObjectsClient.update() method
Updates an SavedObject
Signature:
update<T = unknown>(type: string, id: string, attributes: Partial<T>, options?: SavedObjectsUpdateOptions): Promise<SavedObjectsUpdateResponse<T>>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| type | string | |
| id | string | |
| attributes | Partial<T> | |
| options | SavedObjectsUpdateOptions |
Returns:
Promise<SavedObjectsUpdateResponse<T>>