Delete a vault in the user's account.
Permissions - Managers can delete vaults. Unit Managers can delete vaults if they are granted the permission "Create/edit authentication records/vaults".
Parameter |
Required/Optional |
Data Type |
Description |
---|---|---|---|
action=delete |
Required | String |
Use the parameter “action=delete” to delete the vaults. |
echo_request={0|1} |
Optional | Integer |
Specify 1 to view (echo) input parameters in the XML output. By default these are not included. |
id={value} |
Required | Integer |
Specify vault ID. |
API Request
curl -u "USERNAME:PASSWD" -H "X-Requested-With: curl" -d "id=43463""https://<qualys_base_url>/api/2.0/fo/vault/?action=delete"
XML Output
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE SIMPLE_RETURN SYSTEM "https://<qualys_base_url>/api/2.0/simple_return.dtd">
<SIMPLE_RETURN>
<RESPONSE>
<DATETIME>2018-04-15T14:13:28Z</DATETIME>
<TEXT>Success</TEXT>
<ITEM_LIST>
<ITEM>
<KEY>Status</KEY>
<VALUE>Deleted</VALUE>
</ITEM>
</ITEM_LIST>
</RESPONSE>
</SIMPLE_RETURN>
<platform API server>/api/2.0/simple_return.dtd