@inrupt/solid-client-access-grants
    Preparing search index...

    Function deleteFile

    • Delete a File from a Solid Pod using an Access Grant to prove the caller is authorized to overwrite the target file.

      Parameters

      • fileUrl: string

        The URL of the target file.

      • accessGrant: VerifiableCredential | DatasetWithId

        The Access Grant VC proving the caller is authorized.

      • Optionaloptions: Partial<GetFileOptions>

        Optional properties to customise the request behaviour.

      Returns Promise<void>

      A promise that resolves to a SolidDataset if successful, and that rejects otherwise.