Amplify flutter delete cognito user

1

It is possible delete a specific cognito user (not own user). Using amplify flutter?

futican
preguntada hace un año295 visualizaciones
1 Respuesta
1
Respuesta aceptada

At this time, June 28 2023, there is no Dart SDK for AWS as far as I know. However, this can still be accomplished. One possible approach is as follows.

  1. Create a Lambda function that uses the AWS SDK for any supported language and uses the SDK for Cognito to delete the target user.
  2. Expose the Lambda function through an API either through API Gateway or with Lambda Function URLs.
  3. Call the Lambda API from your Flutter application and provide the Cognito user id that you want to delete.

This architecture could be simplified if AWS releases an AWS SDK for Dart. I hope this helps!

EXPERTO
respondido hace un año
profile picture
EXPERTO
revisado hace un año
profile picture
EXPERTO
revisado hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas