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
Query Parameters
id
required
|
The list id |
Examples
PUT /list/5a0331bffc5886074551ce97/npai/clear HTTP/1.1
Host: api.smsfactor.com
Authorization: Bearer your.token
Accept: application/json
Result Format
{
"status": 1,
"message": "OK",
"removed": 2
}
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>1</status>
<message>OK</message>
<removed>2</removed>
</response>