# API でユーザーを削除しようとした際の誤った CSRF レスポンス

**URL:** <https://meta.discourse.org/t/bad-csrf-response-when-trying-to-delete-user-by-api/87887>\
**Category:** Support\
**Created:** [2018 年 5 月 19 日午後 2:15 UTC](https://meta.discourse.org/t/bad-csrf-response-when-trying-to-delete-user-by-api/87887 "2018-05-19T14:15:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ATPJD](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@ATPJD](https://meta.discourse.org/u/ATPJD)\
**Post date:** [2018 年 5 月 19 日午後 9:04 UTC](https://meta.discourse.org/t/bad-csrf-response-when-trying-to-delete-user-by-api/87887/3 "2018-05-19T21:04:30Z")

</div>

Yes. I’ve tried both the generic one for “system” and my own, as an admin. I have been passing these as GET or POST parameters along with the cookie.

---

_[View the full topic](https://meta.discourse.org/t/bad-csrf-response-when-trying-to-delete-user-by-api/87887)._
