users

Add trusted role for a User

Changed on

Assign 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 URL
    https://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/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