Eliminare tutti i post di un utente su tutto il sito con l'API?

Puoi provare questa richiesta curl per il tuo post id

curl -i -sS -X DELETE "http://localhost:4200/posts/<post-id>.json"  \
-H "Content-Type: multipart/form-data"  \
-H "Api-Key: key"  \
-H "Api-Username: username"

Per vedere se restituisce un errore diverso, ma probabilmente dirà solo “Si è verificato un errore” :frowning:

Sembra che ci siano alcune impostazioni del sito relative agli utenti che eliminano i post che puoi modificare. Sembra anche che ci possa essere un pulsante “Elimina tutti i post” da qualche parte.

1 Mi Piace