Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi One team
Is it possible to create a CIFS workgroup mode using REST-API?
I am inquiring because it is not in the document list.
Thank you.
Solved! See The Solution
1 ACCEPTED SOLUTION
Mjizzini has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Correction on the above...
I did discover a way to do CLI pass through.
curl -siku admin:password --request GET|POST|DELETE|PATCH "http://x.x.x.x/api/private/cli/command"
Now I'll see if I can figure out the right way to run the cifs create command.
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does not seem to be currently possible. I'm on 9.8 (as I'm internal to NetApp):
{ "error": { "message": "Unexpected argument \"workgroup\".", "code": "262179", "target": "workgroup" } }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your confirmation @parisi
Is it possible to run the CLI directly using private REST-API? I'm not familiar with API, so I'm making an inquiry.
Have a nice day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No. REST API is the interface.
You can either use SSH commands or possibly look into using NetApp SDK/ZAPI calls. REST API likely will eventually support this, but it's not presently there.
Mjizzini has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Correction on the above...
I did discover a way to do CLI pass through.
curl -siku admin:password --request GET|POST|DELETE|PATCH "http://x.x.x.x/api/private/cli/command"
Now I'll see if I can figure out the right way to run the cifs create command.
