edit wildfire api-key

Description

Modify an API key name or the key status (enabled/disabled) on a WildFire appliance.

Syntax

edit { 
wildfire { 
api-key [name | status] key <value>; 
{ 
{ 

Options

+ name—Change the name of an API key.
+ status—Enable or disable an API key.
* key—Specify the key to modify.

Sample Output

The key value in this command is required. For example, to change the name of a key named stu to stu-key1, enter the following command:
In the following command, you do not need to enter the old key name; only enter the new key name.
admin@WF-500> edit wildfire api-key name stu-key1 key B870210A6BDF2615D5A40B2DE515A6F5E66186BE28E4FFAC4405F22E83329288 
To change the status of stu-key1 to disabled, enter the following command: 
admin@WF-500> edit wildfire api-key status disable key B870210A6BDF2615D5A40B2DE515A6F5E66186BE28E4FFAC4405F22E83329288 
Example output that shows that stu-key1 is disabled: 
admin@WF-500> show wildfire global api-keys all 
+-----------------------------------------------------------------+------------+ 
|                              Apikey                             |    Name    | 
+-----------------------------------------------------------------+------------+ 
| B870210A6BDF2615D5A40B2DE515A6F5E66186BE28E4FFAC4405F22E83329288|  stu-key1  | 
+-----------------------------------------------------------------+------------+ 
+----------+---------------------+---------------------+ 
|  Status  |     Create Time     |    Last Used Time   | 
+----------+---------------------+---------------------+ 
| Disabled | 2017-03-02 19:14:36 | 2017-03-02 19:14:36 | 
+----------+---------------------+---------------------+ 

Required Privilege Level

superuser, deviceadmin

Related Documentation