We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now, there's no tool to unban a user that was banned by a moderator that was not from a report.
In order to do it, I came up with a simple cURL call, but I'm sure it would be easy to implement an "unban" button.
endpoint and payload to unban:
Lemmy version < 0.19.x:
# change community_id and person_id to match curl --request POST \ --url https://lemmy.world/api/v3/community/ban_user \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header 'authorization: Bearer *****' \ --data ' { "ban": false, "community_id": 1234, "person_id": 1234, "auth": "JWT_TOKEN_GOES_HERE" }'
Lemmy version >= 0.19.x:
# change community_id and person_id to match curl --request POST \ --url https://lemmy.world/api/v3/community/ban_user \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header 'authorization: Bearer *****' \ --data ' { "ban": false, "community_id": 1234, "person_id": 1234 }'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now, there's no tool to unban a user that was banned by a moderator that was not from a report.
In order to do it, I came up with a simple cURL call, but I'm sure it would be easy to implement an "unban" button.
endpoint and payload to unban:
Lemmy version < 0.19.x:
Lemmy version >= 0.19.x:
The text was updated successfully, but these errors were encountered: