users

Remove trusted role from a User

Changed on

Revoke the trusted role, returning the user to general status. Requires admin or moderator role.

delete/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 remove the trusted role from.

Response

Successfully removed the trusted role from a user

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