Delete alert content

https://api.alert.alertinghub.co.uk/api/json/deletecontent

Use this API to easily delete previously stored content. You can delete specific stored items or all items of a particular type or even all items in one go.

Json sample

{
    "version": "latest",
    "apiKey": "abcdefghijklmnopqrstuvwxyz",
    "content": [
        {
            "tag": "t1",
            "storeId": "83de6bd5-230c-479e-8e4e-bf7d8b1e27bd"
        }
    ]
}

Deleting alert content

ParameterRequirementDefaultDescription
versionMandatoryNoneSee API guide
apiKeyMandatoryNoneSee API guide
contentOptionalArray of items to be deleted
storeIdMandatoryNoneThe unique id of a stored item OR the value 'all' to delete all items of the given contentType.
contentTypeMandatory (if storeId is set to 'all')NoneThe type of content to which the storeId refers. One of "call","sms", "email","inboundCall","recipientList", "contactGroup", "contactList" or "contactSetList". Not required if a single storeId is given.
tagMandatory (if storeId is a single stored item)NoneClient defined tag - freeform used in the response.
allOptionalfalseIf set to true then all content owned by your API key will be deleted. Use carefully!

Response

ParameterDescription
successOne of “true”, “false”. If false then failureReason should also be returned
contentArray of items processed
successOne of “true”, “false”. If false then failureReason should also be returned
storeIdThe stored item that was deleted (if a single deletion).
deletedStoreIdsArray of stored items that were deleted (if an 'all' style delete was requested).
contentTypeType of content as per api call
tagClient defined tag as per api call if applicable.