```php
<?php

require_once '../../core/api_bootstrap.php';

$data = Request::post();

try {

Validator::required($data,['id']);

$db = new Database();
$conn = $db->connect();

$conn->prepare("

UPDATE service_city_pages
SET status=0
WHERE id=:id

")->execute([

':id'=>$data['id']

]);

Logger::activity(
ApiAuth::employeeId(),
"delete",
"service_city_pages",
$data['id'],
ApiAuth::ip()
);

Response::success([],"SEO page deleted");

}
catch(Exception $e){

Logger::log("system.log",$e->getMessage());
Response::error("Server error",500);

}