Appearance
DoCurious API Reference / types / DeletionRequest
Interface: DeletionRequest
Defined in: types/user.types.ts:406
Tracks a user's request to permanently delete their account.
Remarks
After submission, the account enters pending_deletion status with a 30-day grace period. The user can cancel at any time before scheduledDeletionAt. Once completed, all personal data is purged per the data retention policy.
Extends
Properties
cancelledAt?
optionalcancelledAt:string
Defined in: types/user.types.ts:414
createdAt
createdAt:
string
Defined in: types/common.types.ts:154
ISO 8601 datetime when the entity was created
Inherited from
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
reason?
optionalreason:string
Defined in: types/user.types.ts:412
Optional user-provided reason for leaving the platform
requestedAt
requestedAt:
string
Defined in: types/user.types.ts:408
scheduledDeletionAt
scheduledDeletionAt:
string
Defined in: types/user.types.ts:410
30 days after requestedAt -- the date permanent deletion occurs
status
status:
"pending"|"cancelled"|"completed"
Defined in: types/user.types.ts:413
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified
Inherited from
userId
userId:
string
Defined in: types/user.types.ts:407