Skip to content

asset.deleted

Python model

AssetDeletedEvent — from kili_events import AssetDeletedEvent

Description

This event is raised once Kili backend successfully deleted an asset.

Properties

event

  • Required
  • The name of the event.
  • Constant value: "asset.deleted"

project_id

  • Required
  • Type: string
  • Id of the project in which the action was done.

user_id

  • Required
  • Type: string
  • Id of the user who did the action.

organization_id

  • Required
  • Type: string
  • Id of the organization in which the action was done. For project related event, it references the project author organization.

payload

  • Required
  • Type: object
  • Properties
    • asset_id
      • Required
      • Type: string
      • Id of the targeted asset.
    • external_id
      • Required
      • Types: string, null
      • External id of the targeted asset.

event

  • Required
  • The name of the event.
  • Constant value: "asset.deleted"

projectId

  • Required
  • Type: string
  • Id of the project in which the action was done.

userId

  • Required
  • Type: string
  • Id of the user who did the action.

organizationId

  • Required
  • Type: string
  • Id of the organization in which the action was done. For project related event, it references the project author organization.

payload

  • Required
  • Type: object
  • Properties
    • assetId
      • Required
      • Type: string
      • Id of the targeted asset.
    • externalId
      • Required
      • Types: string, null
      • External id of the targeted asset.