users
Add trusted role for a User
Changed onAssign the trusted role to a user.
Trusted Role Details:
- Requires admin or moderator privileges.
- Trusted users gain privileges like casting flag votes on inappropriate content or participating in priority review queues.
- Triggers a system notification and an email to the user.
put/api/users/{id}/trusted
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 assign the trusted role.
Response
Trusted role assigned to the user successfully
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