How can i delete all account metadata

Asked by Nick Fytros

Hello,
i use curl -v -X POST -H 'X-Auth-Token:AUTH_tk745af159692c4268a57fc851133b6948' -H 'X-Remove-Account-Meta-49: junk' http://127.0.0.1:8080/v1/AUTH_test
to delete X-Account-Meta-49. but there are many X-Account-Meta-... values that i did not create and i want to remove them all. Is there a fast way to remove all account metadata or i have to do it one by one?

Thanks

Question information

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

You can send multiple X-Remove headers in a single request, but that's as good as it gets.

Revision history for this message
Nick Fytros (fitros16) said :
#2

Thanks Samuel Merritt, that solved my question.