delete_sipaccount

Description

Delete a SIP Account

Parameters 

username

Request 

curl -X POST \-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \
-H "Content-Type: application/json" \
-d '{
"username":"6122038694g2l0db"
}' \
-k https://your.domain.com/api/users/delete_sipaccount

Successful Response

{
  "status": "success"
}

Failed Response

{
  "status": "failed",
  "results": [
    {
      "msg": "SipAccount matching query does not exist."
    }
  ]
}