Supprimer un webhook

Cette méthode permet de supprimer un webhook.

DELETE

/webhook/:id

Paramètres de requête

id
requis
L'id du webhook

Exemples


DELETE /webhook/66 HTTP/1.1
Host: api.smsfactor.com
Authorization: Bearer your.token
Accept: application/json
        
      

Format de la réponse


{
  "status": 1,
  "message": "OK",
  "deleted_id": "66"
}
          
        

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <status>1</status>
    <message>OK</message>
    <deleted_id>66</deleted_id>
</response>