Application Load

IProfileDeleteRequest

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IProfileDeleteRequest

The customer deletes their own account. The session ends.

app/interfaces/orionplace/accounts/IProfileActions.ts
TypeScript
export interface IProfileDeleteRequest {
  // Current password. Sent only when the account has one.
  password?: string;
  // Required; always `true`: the customer confirms that the account cannot be
  // restored.
  confirm: true;
}