Digitalocean api: Difference between revisions

From wikinotes
No edit summary
Line 18: Line 18:
|}
|}
</blockquote><!-- api clients -->
</blockquote><!-- api clients -->
= Authentication =
<blockquote>
You'll need a token before you can do anything.
<syntaxhighlight lang="yaml">
digitalocean.com:
  API:
    tokens/keys:
      - Generate New Token
</syntaxhighlight>
</blockquote><!-- Authentication -->

Revision as of 03:19, 9 February 2022

digitalocean exposes an api to manipulate their droplets/services.

Documentation

API documentation https://docs.digitalocean.com/reference/api/

API Clients

python python-digitalocean

Authentication

You'll need a token before you can do anything.

digitalocean.com:
  API:
    tokens/keys:
      - Generate New Token