incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregor Martynus <gre...@martynus.net>
Subject Re: deleting own user account
Date Wed, 20 Jun 2012 16:39:52 GMT
no, sorry, that was I type, I meant
DELETE /_users/org.couchdb.user:test?rev=1-234

Thanks for pointing that out 

-- 
Gregor Martynus


On Wednesday, 20. June 2012 at 18:38, CGS wrote:

> Have you renamed the database name "users" (by default is "_users")?
> 
> CGS
> 
> 
> 
> 
> On Wed, Jun 20, 2012 at 6:28 PM, Gregor Martynus <gregor@martynus.net (mailto:gregor@martynus.net)>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
> > 
> 
> 
> 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message