Skip to main content
Revoke all active bans specified with BanId.

Syntax

Parameters

titleEntityHandle   PFEntityHandle PFEntityHandle for a title Entity obtained using PFAuthenticationGetEntityWithSecretKeyAsync. request   PFAccountManagementRevokeBansRequest* Populated request object. async   XAsyncBlock*
Inout
XAsyncBlock for the async operation.

Return value

Type: HRESULT Result code for this API operation.

Remarks

This API is available on Win32, Linux, and macOS. Setting the active state of all bans requested to Inactive regardless of whether that ban has already expired. BanIds that do not exist will be skipped. Returns information about applied updates only. See also ServerBanUsersAsync, ServerGetUserBansAsync, ServerRevokeAllBansForUserAsync, ServerUpdateBansAsync. When the asynchronous task is complete, call PFAccountManagementServerRevokeBansGetResultSize and PFAccountManagementServerRevokeBansGetResult to get the result.

Requirements

Header: PFAccountManagement.h

See also

PFAccountManagement members
Last modified on August 1, 2026