comAtprotoAdminUpdateAccountHandle function

Future<XRPCResponse<EmptyData>> comAtprotoAdminUpdateAccountHandle({
  1. required String did,
  2. required String handle,
  3. required ServiceContext $ctx,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Administrative action to update an account's handle.

Implementation

Future<XRPCResponse<EmptyData>> comAtprotoAdminUpdateAccountHandle({
  required String did,
  required String handle,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.comAtprotoAdminUpdateAccountHandle,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'did': did, 'handle': handle},
);