# Delete user and remove identifiable information

Endpoint: POST /v3/user/anonymise/{identifier}/{identifier_value}
Version: 3.0.0
Security: BearerAuth

## Security:

  - `BearerAuth` (unknown)
    http bearer JWT

## Path parameters:

  - `identifier` (string, required)

  - `identifier_value` (string, required)

## Request body:

  - `application/json` (unknown)
    By default the users UID will be maintained, if you wish to remove this you will need to pass a `maintain_uid` of `false`. Please note, if you anonymise the UID you will need to retain the record ID returned if the user is to be restored at a later date.

If accessing via an organisation level token you will need to provide an `organisation_group_id` in order to indicate which group the user belongs to.

## Request fields (application/json):

  - `maintain_uid` (boolean)
    Example: true

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `status` (integer)
    Example: 200

  - `timestamp` (string)
    Example: 1970-01-30T00:00:00.000000Z

  - `data` (object)

  - `data.id` (integer)
    Example: 987654

  - `data.UID` (string)
    Example: ABC123

  - `data.first_name` (string)
    Example: null

  - `data.last_name` (string)
    Example: null

  - `data.email` (string)
    Example: null

  - `data.created_at` (string)
    Example: 1970-01-30T00:00:00.000000Z

## Response 401:

  - `401` (unknown)
    Not authenticated

## Response 405:

  - `405` (unknown)
    The specified method for the request is invalid.

