Skip to content

DeactivationPreview

What deactivating the user’s own account would do now.

object
deletion_due_at
required

When the account would be deleted if it were deactivated now.

string format: date-time
refusal

Why the account cannot be deactivated now; absent when it can: moderation keeps it from logging in (login_restricted), its deletion is scheduled (deletion_scheduled), it is deactivated (already_deactivated), it moved (moved), its registration waits for review (registration_pending), a paid subscription goes on (paid_subscription), no other administrator can sign in (last_administrator), or it was reactivated less than 24 hours ago (recently_reactivated).

string
Allowed values: login_restricted deletion_scheduled already_deactivated moved registration_pending paid_subscription last_administrator recently_reactivated
available_at

When the account can be deactivated again, for recently_reactivated.

string format: date-time

Example generated

{
"deletion_due_at": "2026-04-15T12:00:00Z",
"refusal": "login_restricted",
"available_at": "2026-04-15T12:00:00Z"
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site