API SMS

Intégrez Primotexto à vos applications grâce à notre puissante API SMS.

  >  
Contacts  >  





Supprimer une liste

Requête à envoyer

URL

https://api.primotexto.com/v2/lists/533e9f59e4b05d2efeb6f1b2

HTTP METHOD

DELETE

HEADERS

X-Primotexto-ApiKey: YOUR_API_KEY

Retour de l'API


HEADERS

HTTP/1.1 204 No Content Date: Fri, 08 Jan 2016 15:11:02 GMT Server: Apache Content-Length: 0
// Download library -> https://www.primotexto.com/api/librairies/latest-php.asp require_once 'primotexto-api-php/baseManager.class.php'; // Authentication authenticationManager::setApiKey('5a312492501729be484e69bf16064d03'); // Delete ListsManager::delList($listId);
curl -X DELETE \ -H "X-Primotexto-ApiKey: 5a312492501729be484e69bf16064d03" \ -H "Content-Type: application/json" \ -d '{"name":"API List #1"}' \ https://api.primotexto.com/v2/lists/5416b7ece4b0zda89d239ea5
// Download library -> JDK 1.5 : https://www.primotexto.com/api/downloads/java/primotexto-3.3-jdk-1.5.zip // Download library -> JDK 1.6 : https://www.primotexto.com/api/downloads/java/primotexto-3.3-jdk-1.6.zip // Download library -> JDK 1.7 : https://www.primotexto.com/api/downloads/java/primotexto-3.3-jdk-1.7.zip import com.primotexto.*; // Authentication AuthenticationManager.setApiKey("5a312492501729be484e69bf16064d03"); // Delete PTList newList = new PTList(); newList.setId("551e68c0e4b094b0a124b392"); //newList.setId(listId); ListsManager.delList(newList);