hex_api_organization.update

You're seeing just the function update, go back to hex_api_organization module for more information.

Specs

update(hex_core:config(), pos_integer()) -> hex_api:response().

Updates the number of seats in an organzation.

Examples:

  > hex_api_organization:get(hex_core:default_config()#{api_organization => <<"acme">>}, 42).
  {ok, {200, ..., #{
       <<"billing_active">> => true,
       <<"inserted_at">> => <<"2017-08-22T22:19:53Z">>,
       <<"name">> => <<"acme">>,
       <<"seats">> => 42,
       <<"updated_at">> => <<"2019-01-18T08:47:29Z">>}
       }}}