Skip to content

project.member.deleted

Python model

ProjectMemberDeletedEvent — from kili_events import ProjectMemberDeletedEvent

Description

This event is raised once Kili backend successfully deletes a project member. If a user deletes N project members, it creates N events, one per project member deleted.

Properties

event

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

project_id

  • Required
  • Type: string
  • Id of the project in which the project member was deleted.

user_id

  • Required
  • Type: string
  • Id of the user who deleted the project member.

organization_id

  • Required
  • Type: string
  • Id of the organization in which the project was created. It references the project author organization.

payload

  • Required
  • Type: object
  • The payload of the event, containing details about the project member deleted.
  • Properties
    • user_id
      • Required
      • Type: string
      • Id of the user corresponding to the project member deleted.

event

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

projectId

  • Required
  • Type: string
  • Id of the project in which the project member was deleted.

userId

  • Required
  • Type: string
  • Id of the user who deleted the project member.

organizationId

  • Required
  • Type: string
  • Id of the organization in which the project was created. It references the project author organization.

payload

  • Required
  • Type: object
  • The payload of the event, containing details about the project member deleted.
  • Properties
    • userId
      • Required
      • Type: string
      • Id of the user corresponding to the project member deleted.