<commit_before>## Update Web App Item

Update a web app item. The update can be full (sending all properties), or partial (sending just the ones that need updating). Sending a property with a null value or not sending it at all has the same effect: it will not be changed.

### Request

* **Method:** PUT
* **Server:** https://api-[dub|nj|syd].worldsecuresystems.com
  * Alternatively, use secure site URI (eg. https://mysite.worldsecuresystems.com)
* **Path:** /api/v2/admin/sites/{siteId}/webapps/{webAppName}/items/{webAppItemId}
  * Alternatively, use "current" instead of {siteId}
* **Auth Header:** Site token required
* **Required Permissions:** Edit Web App Items

#### Parameters ####

Body - A WebAppItem object containg the following properties: 

* `name` - the name of the web app item *(string)*
* `weight` - the weight of the web app item (the order in which they will appear in frontend) *(integer)*
* `releaseDate` - the release date of the web app item; uses the format mm/dd/yyyy *(string)*
* `expiryDate` - the date when the web app item will expire; uses the format mm/dd/yyyy *(string)*<commit_msg>Update update-web-app-item.md<commit_after>## Update Web App Item

Update a web app item. The update can be full (sending all properties), or partial (sending just the ones that need updating). Sending a property with a null value or not sending it at all has the same effect: it will not be changed.

### Request

* **Method:** PUT
* **Server:** https://api-[dub|nj|syd].worldsecuresystems.com
  * Alternatively, use secure site URI (eg. https://mysite.worldsecuresystems.com)
* **Path:** /api/v2/admin/sites/[siteId]/webapps/[webAppName]/items/[webAppItemId]
  * Alternatively, use "current" instead of [siteId]
* **Auth Header:** Site token required
* **Required Permissions:** Edit Web App Items

#### Parameters ####

Body - A WebAppItem object containg the following properties: 

* `name` - the name of the web app item *(string)*
* `weight` - the weight of the web app item (the order in which they will appear in frontend) *(integer)*
* `releaseDate` - the release date of the web app item; uses the format mm/dd/yyyy *(string)*
* `expiryDate` - the date when the web app item will expire; uses the format mm/dd/yyyy *(string)*
{'fraction_non_alphanumeric': 0.12411347517730496, 'fraction_numerical': 0.0008865248226950354, 'mean_word_length': 4.425480769230769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3004145', 'n_tokens_mistral': 673, 'n_tokens_neox': 645, 'n_words': 290}