Function: validateUserAnonymizationRerun()
ts
function validateUserAnonymizationRerun(
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:209
Validates user anonymization re-run process.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters? | { expand?: string; oldUserKey?: string; oldUserName?: string; userKey?: string; } | - |
parameters.expand? | string | Parameter used to include parts of the response. |
parameters.oldUserKey? | string | User key before anonymization, only needed when current value is anonymized. If there is no old key, e.g. because the user was already created using the new key generation strategy, provide a value equal to the current key. |
parameters.oldUserName? | string | User name before anonymization, only needed when the current value is anonymized. If there is no old name, provide a value equal to the current name. |
parameters.userKey? | string | The 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>; }>; }>