users

Remove spam role from a User

This endpoint allows the client to remove the spam role for a user.

      The user associated with the API key must have any 'admin' or 'moderator' role.

      This specified user will be restored to 'general' status. Users are not notified
      of removing their spam role in the UI, so if you want them to know about this, you must
      notify them.
delete/api/users/{id}/spam

Path parameters

idinteger required

The ID of the user to remove the spam role from.

Response

Successfully removed the spam role from a user

Changes