DeleteLayer

Deletes the layer with given id. User needs to be logged in and have admin rights.

Parameters

Name Type Description Required?
layer_id String Systems internal id for the layer (unique and cannot include characters reserved for css-selectors) **true**

Response

Success

null with HTTP status code 200

Error

stacktrace with HTTP status code 500

Examples

Example query for Paikkatietoikkuna

(POST|GET) http://www.paikkatietoikkuna.fi/web/fi/kartta?p_p_id=Portti2Map_WAR_portti2mapportlet&p_p_lifecycle=2&action_route=DeleteLayer&layer_id=333

Response: null

Last modified: Fri Mar 15 2024 14:11:33 GMT+0200 (Eastern European Standard Time)