admin_state is a status column the switch owns, so no write method can touch it, PATCH or PUT. The knob you want is user_config.admin. PATCH /rest/v10.xx/system/interfaces/1%2F1%2F1 with a body of {"user_config": {"admin": "down"}} shuts the port, and "up" is no shutdown. You don't need a PUT and you don't need to resend every field: PATCH changes only what's in the body, on REST v10.04 or later.
A GET on the same interface with ?selector=writable lists exactly what you're allowed to write, and you'll see user_config in there and admin_state missing. The ACL with interface example in the AOS-CX REST guide shows that GET returning user_config admin down and then setting it to up: https://arubanetworking.hpe.com/techdocs/AOS-CX/10.16/HTML/rest_v10-0x/Content/Chp_Use_curl/ex-cre-acl-wit-int-usi-res.htm. The PATCH example page shows your exact Non-configurable column error, from writing oper_state on a VLAN, right next to a PATCH that works: https://arubanetworking.hpe.com/techdocs/AOS-CX/10.15/HTML/rest_v10-0x/Content/Chp_Use_curl/ex-pat-met.htm.
If you ever do go the PUT route, anything you leave out of the body resets to its default, so PATCH is the safer call for one attribute.
------------------------------
Dustin Burns
@Worldcom Exchange, Inc.
www.wei.com- - -
The comments I post here are my own, and not my employers
If my post was useful accept solution and/or give kudos
Personal Blog:
www.networkfieldnotes.com- - -
------------------------------