File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,10 +187,10 @@ To list Personal Access Tokens you may use the following endpoint:
187
187
``` bash
188
188
curl https://api.uphold.com/v0/me/tokens \
189
189
-X POST \
190
- -H " Authorization: Bearer <token>" \
191
190
-H " Content-Type: application/json" \
192
191
-H " OTP-Method-Id: <Method-Id>" \
193
192
-H " OTP-Token: <OTP-Token>" \
193
+ -u < email> :< password> \
194
194
-d ' { "description": "My command line script" }'
195
195
```
196
196
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ The following section documents how the Authentication Methods API works to prov
7
7
8
8
``` bash
9
9
curl https://api.uphold.com/v0/me/authentication_methods \
10
- -H " Authorization: Bearer <token> "
10
+ -u < email > : < password >
11
11
```
12
12
13
13
> The above command returns the following JSON:
You can’t perform that action at this time.
0 commit comments