Delete a token

This method allows you to delete a token.

DELETE

/token/:id

Query Parameters

id
required
The token id

Examples


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

Result Format


{
  "status": 1,
  "message": "OK",
  "deleted_token": "17"
}
          
        

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