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