Mainframe Storage

Mainframe Storage

Enhancing performance, reliability, and security ensuring the availability of critical business workloads

 View Only
  • 1.  DS8000 REST API

    Posted 12 days ago

    Hello

    I'm getting error while I'm trying to use method DELETE 

    POST and GET work:

    POST /api/v1/systems

        ...
        "release": "8.5.9",
        "bundle": "88.59.53.0",
        "MTM": "2831-984",
        ...

    Host mapping 
    GET /api/v1/hosts/{{host_name}}/mappings/00

    {
      "server": {
        "status": "ok",
        "code": "",
        "message": "Operation done successfully."
      },
      "counts": {
        "data_counts": 1,
        "total_counts": 1
      },
      "data": {
        "mappings": [
          {
            "lunid": "00",
            "link": {
              "rel": "self",
              "href": "https:/X.X.X.X:8452/api/v1/hosts/testtest/mappings/00"
            },
            "volume": {
              "id": "1100",
              "link": {
                "rel": "self",
                "href": "https:/X.X.X.X:8452/api/v1/volumes/1100"
              }
            }
          }
        ]
      }
    }

    But when I'm trying to delete this mapping

    DELETE /api/v1/hosts/{{host_name}}/mappings/{{mapping_id}}

    Getting:
    Method Not Allowed
    The requested method DELETE is not allowed for the URL /api/v1/hosts/testtest/mappings/00.

    Thanks!



    ------------------------------
    Alex Wood
    ------------------------------


  • 2.  RE: DS8000 REST API

    Posted 7 days ago

    Hi Alex, would you know what code level the HMC(s) have that you are pointing to ?



    ------------------------------
    DOMINIC LANCASTER
    ------------------------------



  • 3.  RE: DS8000 REST API

    Posted 7 days ago

    Hi Dominic,

    On the login page of HMC, I can see this "V8R8.6.0.1"



    ------------------------------
    Alex Wood
    ------------------------------