Hi! I need to create a script to add a metabase user into a permission group, but I don't find a endpoint that can help me do that.
I found this one below but I can't pass the permission group to add the user. Thanks!
PARAMS:
-
name
value must be a non-blank string.
POST /api/permissions/membership
Add a User
to a PermissionsGroup
. Returns updated list of members belonging to the group.
You must be a superuser to do this.