OpenObserve Docs
ReferenceApiUsers

Update user

Endpoint: PUT /api/{organization}/users/{user_email}

Request

{
	"first_name": "ming",
	"last_name": "xing",
	"old_password": "11111111",
	"new_password": "22222222",
	"role": "admin"
}

Description

Field nameData typeDefault valueDescription
first_namestring-first name
last_namestring-last name
old_passwordstring-old password for user, it shouldn't pass if you don't want to change password.
new_passwordstring-new password for user, it shouldn't pass if you don't want to change password.
rolestring-user role, supported: admin / user

Response

{
	"code": 200,
	"message": "User saved successfully"
}
Was this page helpful?

Last updated on

On this page