Hello,
//For resgistering a storage
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -u maintenance:raid-maintenance -X POST -d " { \"model\" : \"VSP 5100\",\"serialNumber\" : \"30031\", \"svpIp\" : \"172.23.67.25\",\"changeNotificationSetting\" : {\"isNotifiable\" : false }}" http://172.23.91.74:23450/ConfigurationManager/v1/objects/storages
//Registering an E series storage through Controller IP
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -u maintenance:raid-maintenance -X POST -d " { \"model\" : \"VSP E1090\",\"serialNumber\" : \"715007\", \"ctl1Ip\" : \"172.23.67.165\",\"changeNotificationSetting\" : {\"isNotifiable\" : false }}" http://172.23.91.50:23450/ConfigurationManager/v1/objects/storages
Mentioning cred in API query is a simplest approach it removes the token responsibility from user
Please let me know if this works for you.