couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <>
Subject Re: deleting own user account
Date Wed, 20 Jun 2012 16:45:00 GMT

Do you get a 200 when you GET that same doc id? I suspect you get a 404. If so, check you
have the right id, perhaps you need to escape some fields. Better, try deleting it from Futon
which handles the escaping for you.

If you're deleting an admin user, then you need to modify your .ini files (preferably via
/_config/admins) instead.


On 20 Jun 2012, at 17:28, Gregor Martynus wrote:

> I'm quite sure that this worked before, but doesn't seem to work anymore. 
> Let's say I have a user account "test" and am signed in as "test".
> The _rev number of users/org.couchdb.user:test is '1-234'
> Shouldn't I be able to delete my own account with
> DELETE /users/org.couchdb.user:test?rev=1-234
> ?
> I get a 404 response, but am still signed in as test
> The same happens when I try to PUT the document with _deleted: true ...
> Any idea? 
> -- 
> Gregor

View raw message