social / pragma.account / AccountService / updateDisplayNameServiceV1 /
updateDisplayNameServiceV1 #
suspend fun updateDisplayNameServiceV1(serviceSession: ServiceSession, request: AccountRpc.UpdateDisplayNameServiceV1Request): AccountRpc.UpdateDisplayNameServiceV1Response
Updates the display name of an account by a Pragma Social Id.
Plugins
- AccountPlugin.onAccountUpdate - Called whenever an account is updated. Can be used to customize account update behavior.
PragmaResultErrors
- PragmaError.Database_Error when failing to update the display name in the db.
- PragmaError.AccountService_DisplayNameUpdateNotAllowed when the AccountPlugin prevents a display name update.