hex_api_organization_member.update
You're seeing just the function
update
, go back to hex_api_organization_member module for more information.
Specs
update(hex_core:config(), binary(), role()) -> hex_api:response().
Updates an organization member's role.
Examples:
> hex_api_organization_member:update(hex_core:default_config()#{api_organization => <<"acme">>}, <<"user">>, read). {ok, {200, ..., #{ <<"email">> => <<"user@example.com">>, <<"role">> => <<"read">>, <<"url">> => <<"https://hex.pm/api/users/user">>, <<"username">> => <<"user">> }}}