Method Name
private/edit_session_key
private/edit_session_keyEdits session key parameters such as label and IP whitelist.
For non-admin keys you can also toggle whether to disable a particular key.
Disabling non-admin keys must be done through /deregister_session_key
Required minimum session key permission level is account
Parameters
public_session_key
string required |
wallet
string required |
disable
boolean |
ip_whitelist
array of strings |
label
string |
Response
id string or integer required |
result object required |
result.
expiry_sec
integer required |
result.
label
string required |
result.
public_session_key
string required |
result.
registered_sec
integer required |
result.
scope
string required |
result.
ip_whitelist
array of strings required |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}