Skip to content

Commit

Permalink
Remove auth 1click list from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gutium Alexei committed Mar 4, 2025
1 parent 31fb5b2 commit d609af9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ lang: cURL
source: |-
curl -X GET \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
"https://api.digitalocean.com/v2/1-clicks"
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ source: |-
import os
from pydo import Client
client = Client(token=os.getenv("$DIGITALOCEAN_TOKEN"))
client = Client(token="")
one_click_apps = client.one_clicks.list()
5 changes: 0 additions & 5 deletions specification/resources/1-clicks/oneClicks_list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,3 @@ responses:
x-codeSamples:
- $ref: 'examples/curl/oneClicks.yml'
- $ref: 'examples/python/oneClicks.yml'

security:
- bearer_auth:
- 'addon:read'

0 comments on commit d609af9

Please sign in to comment.