Delete vault

/api/2.0/fo/vault/?action=delete

[POST]

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".

Input Parameters

Parameter

Description

action=delete

(Required)  

echo_request={0|1}

(Optional) Specify 1 to view (echo) input parameters in the XML output. By default these are not included.

id={value}

(Required) A vault ID.

 

Sample - Delete a vault

API request

curl -u "USERNAME:PASSWD" -H "X-Requested-With: curl" -d "id=43463"

"https://qualysapi.qualys.com/api/2.0/fo/vault/?action=delete"

 

XML output

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE SIMPLE_RETURN SYSTEM "https://qualysapi.qualys.com/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>

 

DTD

<platform API server>/api/2.0/simple_return.dtd