This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ It returns a JSON body like the following:
37
37
" is_guest" : 0 ,
38
38
" admin" : 0 ,
39
39
" deactivated" : 0 ,
40
+ " erased" : false ,
40
41
" shadow_banned" : 0 ,
41
42
" creation_ts" : 1560432506 ,
42
43
" appservice_id" : null ,
@@ -167,6 +168,7 @@ A response body like the following is returned:
167
168
"admin" : 0 ,
168
169
"user_type" : null ,
169
170
"deactivated" : 0 ,
171
+ "erased" : false ,
170
172
"shadow_banned" : 0 ,
171
173
"displayname" : " <User One>" ,
172
174
"avatar_url" : null ,
@@ -177,6 +179,7 @@ A response body like the following is returned:
177
179
"admin" : 1 ,
178
180
"user_type" : null ,
179
181
"deactivated" : 0 ,
182
+ "erased" : false ,
180
183
"shadow_banned" : 0 ,
181
184
"displayname" : " <User Two>" ,
182
185
"avatar_url" : " <avatar_url>" ,
@@ -247,6 +250,7 @@ The following fields are returned in the JSON response body:
247
250
- ` user_type ` - string - Type of the user. Normal users are type ` None ` .
248
251
This allows user type specific behaviour. There are also types ` support ` and ` bot ` .
249
252
- ` deactivated ` - bool - Status if that user has been marked as deactivated.
253
+ - ` erased ` - bool - Status if that user has been marked as erased.
250
254
- ` shadow_banned ` - bool - Status if that user has been marked as shadow banned.
251
255
- ` displayname ` - string - The user's display name if they have set one.
252
256
- ` avatar_url ` - string - The user's avatar URL if they have set one.
You can’t perform that action at this time.
0 commit comments