Type alias RecordsDeleteRequest

RecordsDeleteRequest: {
    from?: string;
    message: Omit<DwnMessageParams[DwnInterface.RecordsDelete], "signer">;
}

Defines a request to delete a record from the Decentralized Web Node (DWN).

This request type optionally specifies the target from which the record should be deleted and the message parameters for the delete operation. If the from property is not provided, the record will be deleted from the local DWN.

Type declaration

  • Optional from?: string

    Optional DID specifying the remote target DWN tenant the record will be deleted from.

  • message: Omit<DwnMessageParams[DwnInterface.RecordsDelete], "signer">

    The parameters for the delete operation.

Generated using TypeDoc