John,

Actually, I misspoke when I said you'd need a cookie.  You can alternatively 
use the ellis_api_key parameter contained in your /etc/clearwater/config file, 
specifying it as an "NGV-API-Key" header.

Matt

From: [email protected] 
[mailto:[email protected]] On Behalf Of Matt 
Williams
Sent: 28 October 2013 22:14
To: John Letourneau
Cc: [email protected]
Subject: Re: [Clearwater] Delete Account

John,

There's no UI for this, but it's possible via the ellis API - you can issue a 
DELETE to the /accounts/<username URL as described at 
https://github.com/Metaswitch/ellis/blob/dev/docs/api.md#user-account.  To use 
it, you'll need a cookie - I've used this by logging in through a browser, 
looking up the cookie and then issuing a command of the following form

curl -X DELETE -H 'Cookie: <cookie value>' 
http://ellis.<host>/accounts/<email<http://ellis.%3chost%3e/accounts/%3cemail> 
address>

Does this give you what you need?  Note that ellis isn't production-ready - we 
use it as an example client for the homestead API and for ease of use during 
initial setup and testing.

Matt

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of John 
Letourneau
Sent: 28 October 2013 19:20
To: 
[email protected]<mailto:[email protected]>
Subject: [Clearwater] Delete Account

Is there a way to delete/purge/remove an account from the web ui? An 
administrative account perhaps?

-John
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to