comAtprotoSpaceNotifyCredentialsRevoked function

Future<XRPCResponse<EmptyData>> comAtprotoSpaceNotifyCredentialsRevoked({
  1. required String space,
  2. required List<String> credentials,
  3. required ServiceContext $ctx,
  4. String? $service,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Notify a repo host that space credentials have been revoked. Sent by the space host. Requires service auth, implemented by PDS.

Implementation

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