revoke_api_key

12.1 and later This command deletes an API key for a Guardium user.

GuardAPI syntax

delete_api_key parameter=value

Parameters

Parameter Value type Description
name String Required.
username String If not specified, deletes the API key for the logged-in user. If specified, the logged-in user must have the accessmgr role to delete the API key for the user associated with the username.

GuardAPI example

The following example shows the command to delete the API key VAScanner_IT for the guard user.
grdapi revoke_api_key name=VAScanner_IT username=guard