You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1467,7 +1472,7 @@ class Account(client: Client) : Service(client) {
1467
1472
/**
1468
1473
* Create push target
1469
1474
*
1470
-
*
1475
+
* Use this endpoint to register a device for push notifications. Provide a target ID (custom or generated using ID.unique()), a device identifier (usually a device token), and optionally specify which provider should send notifications to this target. The target is automatically linked to the current session and includes device information like brand and model.
1471
1476
*
1472
1477
* @param targetId Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1473
1478
* @param identifier The target identifier (token, email, phone etc.)
@@ -1508,7 +1513,7 @@ class Account(client: Client) : Service(client) {
1508
1513
/**
1509
1514
* Update push target
1510
1515
*
1511
-
*
1516
+
* Update the currently logged in user's push notification target. You can modify the target's identifier (device token) and provider ID (token, email, phone etc.). The target must exist and belong to the current user. If you change the provider ID, notifications will be sent through the new messaging provider instead.
1512
1517
*
1513
1518
* @param targetId Target ID.
1514
1519
* @param identifier The target identifier (token, email, phone etc.)
@@ -1545,7 +1550,7 @@ class Account(client: Client) : Service(client) {
1545
1550
/**
1546
1551
* Delete push target
1547
1552
*
1548
-
*
1553
+
* Delete a push notification target for the currently logged in user. After deletion, the device will no longer receive push notifications. The target must exist and belong to the current user.
1549
1554
*
1550
1555
* @param targetId Target ID.
1551
1556
* @return [Any]
@@ -1615,7 +1620,7 @@ class Account(client: Client) : Service(client) {
1615
1620
/**
1616
1621
* Create magic URL token
1617
1622
*
1618
-
* Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST /v1/account/sessions/token](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default.A user is limited to 10 active sessions at a time by default. [Learn more about session limits](https://appwrite.io/docs/authentication-security#limits).
1623
+
* Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST /v1/account/sessions/token](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour.A user is limited to 10 active sessions at a time by default. [Learn more about session limits](https://appwrite.io/docs/authentication-security#limits).
1619
1624
*
1620
1625
* @param userId Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
0 commit comments