users
Add limited role for a User
Changed onLimit a user's account permissions.
Limited Details:
- Requires admin or moderator privileges.
- Assigns the limited role, which rate-limits notifications generated by their actions (such as publishing new posts or comments).
- Does not restrict content creation or delete content.
put/api/users/{id}/limited
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 limit.
Response
User successfully limited
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