updateSite
Update an existing site item This function supports the equivalent of a PATCH REST operation It will fetch the current item from ago, and then apply a subset of property changes to the model if a allowList is included. The allowList can include any property paths on the item. If the list is empty, then the entire site model is overwritten.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
model Required | IModel |
Site Model to update |
|
updateSiteOptions Required | IUpdateSiteOptions |
Returns
Promise<IUpdateItemResponse>
Property | Type | Notes |
---|
Function defined in sites/src/update-site.ts:24