I'm using Portal API Add Item operation to create a new item in my organisation.
To prevent people from accidentally deleting it I set the parameter protected: true.
The item is created but is not protected.
When I view my item's JSON in ArcGIS Online Assistant this parameter is set to false.
What could go wrong ?