I want to create a hosted feature layer or update an existing one to show the objectID by default when viewing fields data.
I am confused because on the updateDefinition page on sample 11 there is an attribute called "visible" in the updated field;
https://developers.arcgis.com/rest/services-reference/online/update-definition-feature-layer-.htm
Here is my updateDefinition I am using (based on the sample #11 above)
{
"fields": [
{
"name": "objectid",
"alias": "fID 1234567890",
"visible": true
}
]
}
I get a success when I test this using Insomnia (like postman) but the data does not update with a visible attribute when I test with the following url
https://server.com/server/rest/services/Hosted/vms_1089_VMSData/FeatureServer/7?f=json&token=...token....

I have also seen reference to using the popupFields to control visibility. Is this process documented?