Skip to content

Latest commit

 

History

History
129 lines (66 loc) · 3 KB

SshKeyApi.md

File metadata and controls

129 lines (66 loc) · 3 KB

\SshKeyApi

All URIs are relative to https://api-ch-gva-2.exoscale.com/v2

Method HTTP request Description
delete_ssh_key DELETE /ssh-key/{name} Delete a SSH key
get_ssh_key GET /ssh-key/{name} Retrieve SSH key details
list_ssh_keys GET /ssh-key List SSH keys
register_ssh_key POST /ssh-key Import SSH key

delete_ssh_key

models::Operation delete_ssh_key(name) Delete a SSH key

Parameters

Name Type Description Required Notes
name String [required]

Return type

models::Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_ssh_key

models::SshKey get_ssh_key(name) Retrieve SSH key details

Parameters

Name Type Description Required Notes
name String [required]

Return type

models::SshKey

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_ssh_keys

models::ListSshKeys200Response list_ssh_keys() List SSH keys

Parameters

This endpoint does not need any parameter.

Return type

models::ListSshKeys200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

register_ssh_key

models::Operation register_ssh_key(register_ssh_key_request) Import SSH key

Parameters

Name Type Description Required Notes
register_ssh_key_request RegisterSshKeyRequest [required]

Return type

models::Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]