跳至內容

Amplify flutter delete cognito user

1

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

已提問 3 年前檢視次數 568 次

1 個回答
1
已接受的答案

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!

專家

已回答 3 年前

專家

已審閱 3 年前

專家

已審閱 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。