GET/digitalocean/ssh-keys

Get DigitalOcean SSH keys

Lists available DigitalOcean SSH keys. Use cloud_provider_token_uuid or cloud_provider_token_id to specify a cloud provider token when retrieving SSH keys.

2 parameters
cloud_provider_token_uuidstringoptional
The UUID of the cloud provider token to use when retrieving SSH keys.
cloud_provider_token_idstringoptional
The ID of the cloud provider token to use when retrieving SSH keys.

3 status codes
200Returns a list of DigitalOcean SSH keys.
401Returned when the request is unauthenticated.
messagestringoptional
422Returned when validation fails.

Error handling

A 401 is returned when the request is unauthenticated. A 422 is returned when validation fails; use cloud_provider_token_uuid or cloud_provider_token_id to identify the cloud provider token when supplying a token selector.