docs: Correct API docs of unlock user (#10064)

# Which Problems Are Solved

The API docs of unlock user show the description of the lock user.

# How the Problems Are Solved

Correct API docs for unlock user are added
This commit is contained in:
Fabienne Bühler
2025-06-17 15:20:44 +02:00
committed by GitHub
parent 83839fc2ef
commit cddbd3dd47

View File

@@ -701,7 +701,7 @@ service UserService {
// Unlock user // Unlock user
// //
// The state of the user will be changed to 'locked'. The user will not be able to log in anymore. The endpoint returns an error if the user is already in the state 'locked'. Use this endpoint if the user should not be able to log in temporarily because of an event that happened (wrong password, etc.).. // The state of the user will be changed to 'active'. The user will be able to log in again. The endpoint returns an error if the user is not in the state 'locked'.
rpc UnlockUser(UnlockUserRequest) returns (UnlockUserResponse) { rpc UnlockUser(UnlockUserRequest) returns (UnlockUserResponse) {
option (google.api.http) = { option (google.api.http) = {
post: "/v2/users/{user_id}/unlock" post: "/v2/users/{user_id}/unlock"