# Anonymize user - blank response from API on attempt?

**URL:** <https://meta.discourse.org/t/anonymize-user-blank-response-from-api-on-attempt/79144>\
**Category:** Development\
**Created:** [January 27, 2018, 8:46am UTC](https://meta.discourse.org/t/anonymize-user-blank-response-from-api-on-attempt/79144 "2018-01-27T08:46:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Frank\_Bailey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frank_bailey/32/83927_2.png) [@Frank\_Bailey](https://meta.discourse.org/u/Frank_Bailey)\
**Post date:** [January 27, 2018, 8:46am UTC](https://meta.discourse.org/t/anonymize-user-blank-response-from-api-on-attempt/79144/1 "2018-01-27T08:46:47Z")

</div>

Hi folks, I’m trying to hit the endpoint to anonymize a user in Discourse; I’ve got single sign-on between WordPress and Discourse set up, and when the user deletes their account on WordPress I want to anonymize them in Discourse. The endpoint is

```plaintext
/admin/users/{id}/anonymize:
put:
  description: |
    Anonymize a user
  tags:
    - Admin
  parameters:
    - name: id
      in: path
      required: true
      type: integer
  responses:
    '200':
      description: succesfully anonymized user
      schema:
        type: object
        properties:
          success:
            type: string
          username:
type: "string"

```

When I hit that endpoint with a PUT and a valid user ID, API key and username etc., I get no response. Blank page. I’m guessing I should definitely get some kind of response, so has this endpoint perhaps been removed or renamed in some way?

---

_[View the full topic](https://meta.discourse.org/t/anonymize-user-blank-response-from-api-on-attempt/79144)._
