social / pragma.account / AccountService / updateDisplayNameOperatorV1 /
updateDisplayNameOperatorV1 #
suspend fun updateDisplayNameOperatorV1(operatorSession: OperatorSession, request: AccountRpc.UpdateDisplayNameOperatorV1Request): AccountRpc.UpdateDisplayNameOperatorV1Response
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.