SP.ContentType.sealed property (sp.js)
Gets or sets whether the content type can be modified.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.ContentType.get_sealed ()
var value = SP.ContentType.set_sealed ()
Return value
true if the content type is sealed; otherwise false.
Remarks
You must have administrative rights to the site collection to unseal and edit a content type that is defined as sealed.
For more information, see Content Type Change Control.
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeid)/sealed
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeid)/sealed
GET syntax
GET http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeid)/sealed