exoscale-rs 3.0.0

Infrastructure automation API, allowing programmatic access to all Exoscale products and services. The [OpenAPI Specification](http://spec.openapis.org/oas/v3.0.3.html) source of this documentation can be obtained here: * [JSON format](https://openapi-v2.exoscale.com/source.json) * [YAML format](https://openapi-v2.exoscale.com/source.yaml)
Documentation
# \SshKeyApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_ssh_key**]SshKeyApi.md#delete_ssh_key | **DELETE** /ssh-key/{name} | Delete a SSH key
[**get_ssh_key**]SshKeyApi.md#get_ssh_key | **GET** /ssh-key/{name} | Retrieve SSH key details
[**list_ssh_keys**]SshKeyApi.md#list_ssh_keys | **GET** /ssh-key | List SSH keys
[**register_ssh_key**]SshKeyApi.md#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**](operation.md)

### Authorization

No authorization required

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## 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**](ssh-key.md)

### Authorization

No authorization required

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_ssh_keys

> models::ListSshKeys200Response list_ssh_keys()
List SSH keys



### Parameters

This endpoint does not need any parameter.

### Return type

[**models::ListSshKeys200Response**](list_ssh_keys_200_response.md)

### Authorization

No authorization required

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## 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**]RegisterSshKeyRequest.md |  | [required] |

### Return type

[**models::Operation**](operation.md)

### Authorization

No authorization required

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)