Preview retention changes for a page of existing human guests.
curl --request POST \ --url https://auth.example.com/api/admin/account-lifecycle/guest-retention/preview \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "limit": 100, "cursor": "example" }'Requires tenant-scoped account-lifecycle settings read permission. Captures account revisions, original creation dates and the current saved policy. A page contains up to 1000 accounts (100 by default). The opaque continuation cursor retains the database inventory and creation cutoff. Previewing never changes accounts. Previews and cursors expire after 15 minutes and become invalid when the saved policy changes.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Opaque continuation cursor from the preceding page.
Responses
Section titled “ Responses ”Immutable review page. All timestamps are Unix seconds. A null deadline means automatic deletion is disabled.
object
object
Example generated
{ "preview_token": "example", "expires_at": 1, "policy_version": "example", "deletion_after_days": 1, "count": 1, "due_now": 1, "next_cursor": "example", "items": [ { "user_id": "example", "created_at": 1, "previous_due_at": 1, "new_due_at": 1 } ]}Invalid page size or cursor input.
Administrator authentication is required.
Tenant access or settings read permission is denied.
The preview cursor expired or the saved policy changed.
The preview service or an assigned database is unavailable.