syntax = "proto3";

package user;

option go_package = "user";

import "eventbus/owner.proto";

// UserDelete triggers when a user asks us to delete them.
//
// NOTE that while the user is inaccessible after this time, the user has a
// period of time when they can opt to return to their account, and if this
// happens a UserUndelete event is fired.
message UserDelete {
  option (eventbus.owner.ldap_group) = "team-identity";
  string user_id = 1;
  string login = 2;
  repeated string associated_device_ids = 3;
  repeated string extension_client_ids = 4;
}
