From 0c5cf36dcd69147f70cf812148236534d2a9e790 Mon Sep 17 00:00:00 2001 From: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com> Date: Wed, 15 May 2024 12:11:56 -0700 Subject: [PATCH] fix(docs): update users create token description 1. The endpoint does not create a user 2. The endpoint is incorrect --- docs/references/users/create-token.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/references/users/create-token.md b/docs/references/users/create-token.md index 1ab34a3d74..c91f9dd3de 100644 --- a/docs/references/users/create-token.md +++ b/docs/references/users/create-token.md @@ -1 +1 @@ -Returns a token with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [PUT /account/sessions/custom](https://appwrite.io/docs/references/cloud/client-web/account#updateCustomSession) endpoint to complete the login process. \ No newline at end of file +Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT /account/sessions/token](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint to complete the login process.