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
** Update the project labels. Labels can be used to easily filter projects in an organization. **
81
+
82
+
### Parameters
83
+
84
+
| Field Name | Type | Description | Default |
85
+
| --- | --- | --- | --- |
86
+
| labels | array | Array of project labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long. ||
87
+
88
+
76
89
```http request
77
90
GET https://cloud.appwrite.io/v1/project/platforms
Copy file name to clipboardExpand all lines: docs/users.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -252,6 +252,22 @@ POST https://cloud.appwrite.io/v1/users/{userId}/jwts
252
252
| duration | integer | Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds. | 900 |
253
253
254
254
255
+
```http request
256
+
PUT https://cloud.appwrite.io/v1/users/{userId}/labels
257
+
```
258
+
259
+
** Update the user labels by its unique ID.
260
+
261
+
Labels can be used to grant access to resources. While teams are a way for user's to share access to a resource, labels can be defined by the developer to grant access without an invitation. See the [Permissions docs](https://appwrite.io/docs/permissions) for more info. **
262
+
263
+
### Parameters
264
+
265
+
| Field Name | Type | Description | Default |
266
+
| --- | --- | --- | --- |
267
+
| userId | string |**Required** User ID. ||
268
+
| labels | array | Array of user labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long. ||
269
+
270
+
255
271
```http request
256
272
GET https://cloud.appwrite.io/v1/users/{userId}/logs
0 commit comments