Disabling an Object
Disable an object to prevent users from accessing it.
Disabling objects is useful when you want to perform maintenance operations. For example, you can disable a folder while you reorganize its content. When you disable a folder, its contents are also disabled.
If an object is disabled, all shortcuts to this object show the disabled icon in the portal.
You must have read and write privileges to an object to enable or disable it.
To disable an object, set the disabled property to true
, and then use the content » update(objects, options) method.