Remove page - celdotro/marketplace GitHub Wiki

About

  • Deletes a page

Class

celmarket\Pages\PagesDelete

Method

deletePage

API

  • method: settings
  • action: deletePage

Parameters

  • id = page id

Response

An object with the following attributes

  • message = in case of success, the following text will be returned: "Pagina a fost stearsa";

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Pages/3.deletePages.php

Example - JSON

{
  "request": {
   "id": 1 
  },
  
  "response": {
    "message": "X"
  }
}
⚠️ **GitHub.com Fallback** ⚠️