If successful, this method returns a XML structure, as it is shown below.
<?xml version="1.0" encoding="ISO-8859-1"?>
Unsuccessful response sample:
<?xml version="1.0" encoding="ISO-8859-1"?>
3
API key is not valid
curl \
http://api.crowdin.net/api/project/{project-identifier}/delete-project?key={project-key}
<?php
$request_url = 'http://api.crowdin.net/api/project/{project-identifier}/delete-project?key={project-key}';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $request_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
$result = curl_exec($ch);
curl_close($ch);
echo $result;