Cancel
Showing results for 
Search instead for 
Did you mean: 

cannot delete an asset using mindsphere API

Experimenter
Experimenter

mindsphere document says that we need to pass If-match and id as the parameter for api call.

but when I invoke the delete api call, I'm getting error response call.

 

{
    "errors": [
        {
            "code": "mindsphere.generic.exception",
            "logref": "5cd27535464870a84672b3fc916d0ee4",
            "message": "Request method 'DELETE' not supported",
            "errorcode": "mindsphere.generic.exception"
        }
    ]
}

As you can see "delete" is not supported. 

I'm using eu1 region and v3 of api.

How do I resolve this. 

 

thank you!

1 REPLY 1

Re: cannot delete an asset using mindsphere API

Legend
Legend
What are you using to connect, one of the SDKs, direct API calls? Please add details about the request endpoint you're using, etc. According to the API spec, the DELETE method *is* supported.