Toggle menu

DeleteBlob

Description

Deletes a specified blob/file from a given container in the Azure Blob Storage account. Optionally, authentication details can be provided to select the correct storage account configuration.

Parameters

NameTypeComments
containerNameStringThe name of the container that contains the blob
blobNameStringThe name of the blob to delete
timeoutMsNumber, optional

Timeout in milliseconds before aborting the operation (default is 20000)

authDetailsObject, optionalThe authDetails set in the worker configuration to use. If not set the request will use the default authDetails.
authDetails.identifierStringThe identifier for the authentication details (used to select the correct connection string).

Example

{
    "id": "123",
    "jsonrpc": "2.0",
    "method": "deleteBlob",
    "params": {
        "containerName": "applications",
        "blobName": "1111-2222-3333-4444/attachments/images/my-image.jpg",
        "timeoutMs": 30000,
        "authDetails": {
            "identifier": "my-storage-account"
        }
    }
}

Last modified on 22 July 2025