Skip to content

Function: validateUserAnonymization() ​

ts
function validateUserAnonymization(
   client, 
   parameters?, 
   options?
): Promise<{
[key: string]: unknown;
  affectedEntities?: Record<string, object[]>;
  businessLogicValidationFailed?: boolean;
  deleted?: boolean;
  displayName?: string;
  email?: string;
  errors?: Record<string, {
   [key: string]: unknown;
     errorMessages?: string[];
     errors?: Record<string, string>;
  }>;
  expand?: string;
  operations?: string[];
  success?: boolean;
  userKey?: string;
  userName?: string;
  warnings?: Record<string, {
   [key: string]: unknown;
     errorMessages?: string[];
     errors?: Record<string, string>;
  }>;
}>;

Defined in: src/server/api/users.ts:152

Validates user anonymization process.

Parameters ​

ParameterTypeDescription
clientClient-
parameters?{ expand?: string; userKey?: string; }-
parameters.expand?stringParameter used to include parts of the response.
parameters.userKey?stringThe key of the user to validate anonymization for.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; affectedEntities?: Record<string, object[]>; businessLogicValidationFailed?: boolean; deleted?: boolean; displayName?: string; email?: string; errors?: Record<string, { [key: string]: unknown; errorMessages?: string[]; errors?: Record<string, string>; }>; expand?: string; operations?: string[]; success?: boolean; userKey?: string; userName?: string; warnings?: Record<string, { [key: string]: unknown; errorMessages?: string[]; errors?: Record<string, string>; }>; }>