users

Add limited role for a User

Changed on

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