From the SDK example it looks like I am supposed to put my Plivo credentials in plain text in JavaScript. Am I missing something? Because that seems like a really terrible idea.
Edit:
Creating an Endpoint - http://plivo.com/docs/api/endpoint/#create
Deleting an Endpoint - http://plivo.com/docs/api/endpoint/#delete