DeleteView

Handles the deletion of a view.

Parameters

Name Type Description Required?
viewId String The id of the view **true**

Response

Success

{
  "id": "<id of the view>",
  "userId": "<user id>"
}

Error

{
  "error" : "message"
}

Examples

Example query for Paikkatietoikkuna

http://www.paikkatietoikkuna.fi/web/fi/kartta?p_p_id=Portti2Map_WAR_portti2mapportlet&p_p_lifecycle=2&action_route=DeleteView

With POST params:

{
  "id": 2811
}

Response:

{
  "id": 2811,
  "userId": FILTERED
}

Last modified: Thu Nov 10 2022 13:59:32 GMT+0200 (Eastern European Standard Time)