SP.Site.canUpgrade property (sp.js)

Property indicating whether or not this object can be upgraded.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Site.get_canUpgrade ()

Return value

true if the object can be upgraded; otherwise, false.

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/site/canUpgrade

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/site/canUpgrade

GET syntax

GET http://<sitecollection>/<site>/_api/site/canUpgrade