Skip to main content

UnbanUser

POST 

/v1/users/:user_id/unban

UnbanUser clears a user's ban (authn.user.banned, ban_reason, ban_expires). It deliberately restores nothing: sessions deleted by the ban stay logged out and API keys soft-deleted by the ban stay dead, so a re-enabled user must sign in again and issue fresh keys (fraser#8689). Same caller gate as BanUser, declared the same way: lifting a ban is as consequential as writing one.

Request

Responses

Success