This payload is sent for a ChangeSubscription when a resource is deleted.

interface ResourceDeletedDeliveryPayload {
    dataErasure?: boolean;
    modifiedAt: string;
    notificationType: "ResourceDeleted";
    projectKey: string;
    resource: Reference;
    resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
    version: number;
}

Properties

dataErasure?: boolean

true if the dataErasure parameter on the DELETE request was set to true.

modifiedAt: string

Date and time (UTC) the resource was last deleted.

notificationType: "ResourceDeleted"
projectKey: string

key of the Project. Useful for processing notifications if the Destination receives them from multiple Projects.

resource: Reference

Reference to the resource that triggered the notification.

resourceUserProvidedIdentifiers?: UserProvidedIdentifiers

User-defined unique identifiers of the resource.

version: number

Last seen version of the resource.