Files
grafana/pkg/registry/apis/iam/legacy/update_org_user.sql
Misi bd1dbb68ba IAM: Add the implementation of the Update User API (#112054)
* wip

* Add validate, wire mutate, add tests

* Address copilot's feedback

* Address feedback
2025-10-13 10:00:18 +02:00

7 lines
218 B
SQL

-- name: update_org_user
UPDATE {{ .Ident .OrgUserTable }}
SET
role = {{ .Arg .Command.Role }},
updated = {{ .Arg .Command.Updated }}
WHERE org_id = {{ .Arg .Command.OrgID }} AND user_id = {{ .Arg .Command.UserID }}