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 in message processing if the Destination receives events from multiple Projects.

resource: Reference

Reference to the resource that triggered the message.

resourceUserProvidedIdentifiers?: UserProvidedIdentifiers

User-defined unique identifiers of the resource.

version: number

Last seen version of the resource.

Generated using TypeDoc