ONTAP Rest API Discussions

unable to update authentication_type to CHAP using API.

ahiresun
861 Views

While trying to modify  the iscsi security credentials for chap authentication using Rest API  PATCH, I get the following error 

 

{
"error": {
"message": "The only modifiable properties for the default iSCSI security credential are \"authentication_type\", \"chap.inbound.user\", \"chap.inbound.password\", \"chap.outbound.user\" and \"chap.outbound.password\".",
"code": "5374896",
"target": "authentication_type"
}

 

I have specified all the modifiable properties for the iscsi security credentials to change the default from None to CHAP.

1 ACCEPTED SOLUTION

ahiresun
860 Views

I managed to resolve it by providing the payload.

View solution in original post

1 REPLY 1

ahiresun
861 Views

I managed to resolve it by providing the payload.

Public