Why there's no DELETE support in AccountController in the proxy?

Asked by Juan J. Martínez

The account server has a DELETE method that marks the account as "deleted", so the account reaper can remove it in background. The AccountController has GET/HEAD, PUT and POST support. I don't know if I'm missing something here.

I was wondering if there's a good reason to not support that DELETE call in the proxy to delete an account, so the proxy forwards the call to the account server.

I know that functionality it's not supported in the DevAuth server, but I'm working in a custom auth server that actually supports it and I'm planning to add the missing DELETE support in proxy server.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
gholt
Solved:
Last query:
Last reply:
Revision history for this message
Best gholt (gholt) said :
#1

The proxy will have an account delete in the Bexar release. It is in trunk already and just requires adding allow_account_management = true in your proxy configuration.

Revision history for this message
Juan J. Martínez (jjmartinez) said :
#2

Thank you, I'll check the trunk code.

Revision history for this message
Juan J. Martínez (jjmartinez) said :
#3

Thanks gholt, that solved my question.