comAtprotoServerRevokeAppPassword function

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

Revoke an App Password by name.

Implementation

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