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.
To learn more, please review the information in this blog post.

ONTAP Rest API Discussions

unable to update authentication_type to CHAP using API.

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

I managed to resolve it by providing the payload.

View solution in original post

1 REPLY 1

ahiresun
1,583 Views

I managed to resolve it by providing the payload.

Public