Clear list

This method allows you to add the NPAI of your list into your NPAI list and delete NPAI in this list.

PUT

/list/:id/npai/clear

Parametri query

id
richiesto
L’id della lista

Esempi


PUT /list/2/npai/clear HTTP/1.1
Host: api.smsfactor.com
Authorization: Bearer your.token
Accept: application/json
        
      

Formato della risposta


{
    "status": 1,
    "message": "OK",
    "removed": 2
}
          
        

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