File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,23 @@ paths:
47
47
The token belongs to a known user.
48
48
examples :
49
49
application/json : {
50
- " user_id " : " @joe:example.org"
50
+ " user_id " : " @joe:example.org" ,
51
+ " device_id " : " ABC1234"
51
52
}
52
53
schema :
53
54
type : object
54
55
required : ["user_id"]
55
56
properties :
56
57
user_id :
57
58
type : string
58
- description : The user id that owns the access token.
59
+ description : The user ID that owns the access token.
60
+ device_id :
61
+ type : string
62
+ description : |-
63
+ Device ID associated with the access token. If no device
64
+ is associated with the access token (such as in the case
65
+ of application services) then this field can be omitted.
66
+ Otherwise this is required.
59
67
401 :
60
68
description :
61
69
The token is not recognised
You can’t perform that action at this time.
0 commit comments