Bitte beachten Sie, dass API 2.0 jetzt die bevorzugte Version ist. Die alte API bleibt bis Ende 2021 voll funktionsfähig.
Name | Wert | Beschreibung |
---|---|---|
json optional | String | Könnte keinen Wert enthalten. Definiert, dass die Antwort im JSON-Format sein soll. |
jsonp optional | String | Name der Rückruffunktion. Definiert, dass die Antwort im JSONP-Format sein soll. |
Variablen | ||
project-identifier | String | Projekt-ID. |
login | String | Ihr Nutzername auf Crowdin. |
account-key | String | Ihr Konto-API-Schlüssel. |
<?xml version="1.0" encoding="UTF-8"?>
<success>
</success>
<?xml version="1.0" encoding="UTF-8"?>
<error>
<code>3</code>
<message>API key is not valid</message>
</error>
curl \
https://api.crowdin.com/api/project/{project-identifier}/delete-project?login={username}&account-key={account-key}
<?php
$request_url = 'https://api.crowdin.com/api/project/{project-identifier}/delete-project?login={username}&account-key={account-key}';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $request_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close($ch);
echo $result;