hex_api_key.delete_all
You're seeing just the function
delete_all
, go back to hex_api_key module for more information.
Specs
delete_all(hex_core:config()) -> hex_api:response().
Deletes all API and repository keys associated with the account.
Examples:
> hex_api_key:delete_all(hex_core:default_config()). {ok, {200, ..., [#{ <<"authing_key">> => true, <<"inserted_at">> => <<"2019-02-27T11:15:32Z">>, <<"last_use">> => #{<<"ip">> => <<"1.2.3.4">>, <<"used_at">> => <<"2019-02-27T14:38:54Z">>, <<"user_agent">> => <<"hex_core/0.5.0 (httpc) (OTP/21) (erts/10.2)">>}, <<"name">> => <<"hex_core">>, <<"permissions">> => [#{<<"domain">> => <<"api">>,<<"resource">> => <<"read">>}], <<"revoked_at">> => nil, <<"updated_at">> => <<"2019-02-27T14:38:54Z">>, <<"url">> => <<"https://hex.pm/api/keys/test">>}, }]}}