users
Remove spam role from a User
Changed onUnflag a user as spammer, restoring general permissions. Requires admin or moderator role.
delete/api/users/{id}/spam
Request
- Base URLhttps://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/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status
- breaking
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info