/Storage/DeleteFromVault

Allows the client to delete an item from its vault. It is only possible to delete items that have been stored using the same account.

JSON

Request
{
	"vaultId": Required(Str(PVaultId))
}
Response (if successful)
{
}

XML

Request
<DeleteFromVault xmlns="https://waher.se/Schema/BrokerAgent.xsd"
                 vaultId=(Required(Str(PVaultId))) />
Response (if successful)
<AckResponse xmlns="https://waher.se/Schema/BrokerAgent.xsd"/>

Input Parameters

Parameter Description
PVaultId Identifier of the vault item to delete.

Response Parameters

There are no response parameters for this resource.

Javascript Library

Use the following asynchronous method in the Javascript Library, to call this resource.

var Response = await AgentAPI.Storage.DeleteFromVault(VaultId);
Test


Request Payload:

   

Response Payload: