Apply the reviewed retention policy to exactly one preview page.
curl --request POST \ --url https://auth.example.com/api/admin/account-lifecycle/guest-retention/apply \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "preview_token": "example" }'Requires tenant-scoped account-lifecycle settings edit permission. Only accounts captured by the preview are considered. Changed, registered or deleting accounts are skipped. Deadlines are calculated from account creation, including already elapsed deadlines. Deletion itself runs in scheduled maintenance. Retrying the same preview is idempotent, including after a partial failure. A policy change requires a new preview. Subsequent pages require their own explicit apply request.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Example generated
{ "preview_token": "example"}Responses
Section titled “ Responses ”Result counts for the reviewed page, including writes completed by an earlier retry of this same page.
object
Example generated
{ "applied": 1, "unchanged": 1, "skipped": 1, "total": 1}A valid preview token is required.
Administrator authentication is required.
Tenant access or settings edit permission is denied.
The preview is expired
A transient failure interrupted application. Retry the same preview before it expires.