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
users.patch
We need to implement a users.patch RPC function to replace the PATCH /api/ui/v0/users/{userId}/ endpoint.
PATCH /api/ui/v0/users/{userId}/
The function signature should be:
@rpc_method(name='users.patch') @http_basic_auth_login_required @handle_rpc_exceptions def patch( *, user_id: int, user_info: SettableUserInfo, **kwargs ) -> UserInfo:
A superuser can patch anyone's user, and a user can patch their own user.
See the wiki for more context.
The text was updated successfully, but these errors were encountered:
User
No branches or pull requests
We need to implement a
users.patch
RPC function to replace thePATCH /api/ui/v0/users/{userId}/
endpoint.The function signature should be:
A superuser can patch anyone's user, and a user can patch their own user.
See the wiki for more context.
The text was updated successfully, but these errors were encountered: