Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
bboure committed Jan 23, 2024
1 parent 7985c79 commit ddd1380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/utils/cognito.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ const credentials = await cognitoSignIn({

The returned value is of type [AuthenticationResultType](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AuthenticationResultType.html) from @aws-sdk/client-cognito-identity-provider.

### `cognitoDeleteUser`
### `deleteCognitoUser`

Delete a user in cognito.

```typescript
await cognitoDeleteUser({
await deleteCognitoUser({
userPoolId: 'user_pool_id',
username: '[email protected]',
});
Expand Down

0 comments on commit ddd1380

Please sign in to comment.