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
------------------------------