users

Remove spam role from a User

Changed on

Unflag a user as spammer, restoring general permissions. Requires admin or moderator role.

delete/api/users/{id}/spam

Request

  • Base URL
    https://dev.to
  • Auth
    • API key in header api-key
    • or HTTP bearer

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

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status