NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Rest API Discussions

unable to update authentication_type to CHAP using API.

ahiresun
1,582 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
1,581 Views

I managed to resolve it by providing the payload.

View solution in original post

1 REPLY 1

ahiresun
1,582 Views

I managed to resolve it by providing the payload.

Public