edit wildfire api-key
Focus
Focus
Advanced WildFire

edit wildfire api-key

Table of Contents

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 <API KEY>
To change the status of stu-key1 to disabled, enter the following command: admin@WF-500>
edit wildfire api-key status disable key <API KEY>
Example output that shows that stu-key1 is disabled: admin@WF-500>
show wildfire global api-keys all
+----------------------------------------------------+------------+ | Apikey | Name | +----------------------------------------------------+------------+ | <API KEY> |
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

Recommended For You