Skip to content

Commit b6f888f

Browse files
author
Josh Sager
committed
brk: renamed reset_secret to reset-secret
* Endpoint should match convention, so it has been changed to: * /account/oauth-clients/$id/reset-secret
1 parent 368ab3d commit b6f888f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/data/endpoints/account.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ endpoints:
185185
python: |
186186
my_client = linode.OAuthClient(client, 123)
187187
my_client.delete()
188-
/account/oauth-clients/$id/reset_secret:
188+
/account/oauth-clients/$id/reset-secret:
189189
group: OAuth Clients
190190
type: Action
191191
authenticated: true
@@ -200,7 +200,7 @@ endpoints:
200200
curl -H "Content-Type: application/json" \
201201
-H "Authorization: Bearer $TOKEN" \
202202
-X POST \
203-
https://$api_root/$version/account/oauth-clients/$client_id/reset_secret
203+
https://$api_root/$version/account/oauth-clients/$client_id/reset-secret
204204
python: |
205205
my_client = linode.OAuthClient(client, 123)
206206
new_secret = my_client.reset_secret()

0 commit comments

Comments
 (0)