social / pragma.account / AccountService / updateDisplayNamePartnerV1 /
updateDisplayNamePartnerV1 #
suspend fun updateDisplayNamePartnerV1(operatorSession: PartnerSession, request: AccountRpc.UpdateDisplayNamePartnerV1Request): AccountRpc.UpdateDisplayNamePartnerV1Response
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.