diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 18a4d5325..6b2812e6f 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -213,7 +213,7 @@ $utopia->get('/v1/account/logs') ); $utopia->post('/v1/account') - ->desc('Create a new account') + ->desc('Create Account') ->label('webhook', 'account.create') ->label('scope', 'public') ->label('sdk.namespace', 'account') diff --git a/docs/references/teams/create-team-membership-resend.md b/docs/references/teams/create-team-membership-resend.md deleted file mode 100644 index 8ba2a913d..000000000 --- a/docs/references/teams/create-team-membership-resend.md +++ /dev/null @@ -1 +0,0 @@ -Use this endpoint to resend your invitation email for a user to join a team. \ No newline at end of file diff --git a/docs/references/teams/create-team-membership.md b/docs/references/teams/create-team-membership.md index a3826109b..dbe8f168b 100644 --- a/docs/references/teams/create-team-membership.md +++ b/docs/references/teams/create-team-membership.md @@ -1,5 +1,5 @@ Use this endpoint to invite a new member to your team. An email with a link to join the team will be sent to the new member email address. If member doesn't exists in the project it will be automatically created. -Use the redirect parameter to redirect the user from the invitation email back to your app. When the user is redirected, use the /teams/{teamId}/memberships/{inviteId}/status endpoint to finally join the user to the team. +Use the 'url' parameter to redirect the user from the invitation email back to your app. When the user is redirected, use the [Update Team Membership Status](/docs/teams#updateTeamMembershipStatus) endpoint to finally join the user to the team. Please note that in order to avoid a [Redirect Attacks](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URL's are the once from domains you have set when added your platforms in the console interface. \ No newline at end of file diff --git a/docs/references/teams/delete-team-membership.md b/docs/references/teams/delete-team-membership.md index e8c97e63e..e2c884a3e 100644 --- a/docs/references/teams/delete-team-membership.md +++ b/docs/references/teams/delete-team-membership.md @@ -1 +1 @@ -This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. \ No newline at end of file +This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if he didn't accept it. \ No newline at end of file