Allow generation of ONTAP reports using the ONTAP REST API
You can create a REST role to provide users with the ability to generate ONTAP reports.
About this workflow
The role created is defined with the following characteristics:
-
Able to retrieve all storage object information related to capacity and performance (such as volume, qtree, LUN, aggregates, node, and SnapMirror relationships)
-
Cannot create or modify higher level objects (such as volumes or SVMs)
HTTP method and endpoint
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
POST |
/api/security/roles |
Curl example
JSON input example