azisaba-graph 0.1.0-rc.16

An API for connecting and sharing data across the Azisaba Network.
Documentation
# \ApiKeysApi

All URIs are relative to *https://graph.azisaba.net*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_api_key**]ApiKeysApi.md#create_api_key | **POST** /api-keys | Create API key
[**delete_api_key_by_id**]ApiKeysApi.md#delete_api_key_by_id | **DELETE** /api-keys/{apiKeyId} | Delete API key
[**get_api_key_by_id**]ApiKeysApi.md#get_api_key_by_id | **GET** /api-keys/{apiKeyId} | Get API key
[**list_api_keys**]ApiKeysApi.md#list_api_keys | **GET** /api-keys | List API keys
[**update_api_key_by_id**]ApiKeysApi.md#update_api_key_by_id | **PATCH** /api-keys/{apiKeyId} | Update API key



## create_api_key

> models::CreateApiKey201Response create_api_key(create_api_key_request)
Create API key

Creates a new API key.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**create_api_key_request** | [**CreateApiKeyRequest**]CreateApiKeyRequest.md |  | [required] |

### Return type

[**models::CreateApiKey201Response**](createApiKey_201_response.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth)

### 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)


## delete_api_key_by_id

> delete_api_key_by_id(api_key_id)
Delete API key

Deletes the API key with the specified ID.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**api_key_id** | **String** | The public identifier of the API key. | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

[[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_api_key_by_id

> models::ApiKey get_api_key_by_id(api_key_id)
Get API key

Returns the API key with the specified ID.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**api_key_id** | **String** | The public identifier of the API key. | [required] |

### Return type

[**models::ApiKey**](ApiKey.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth)

### 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_api_keys

> models::ListApiKeys200Response list_api_keys(limit, cursor)
List API keys

Returns a list of API keys.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**limit** | Option<**u8**> | The maximum number of API keys to return. |  |[default to 20]
**cursor** | Option<**String**> | The cursor returned by the previous request. |  |

### Return type

[**models::ListApiKeys200Response**](listApiKeys_200_response.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth)

### 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)


## update_api_key_by_id

> models::ApiKey update_api_key_by_id(api_key_id, update_api_key_by_id_request)
Update API key

Updates the API key with the specified ID.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**api_key_id** | **String** | The public identifier of the API key. | [required] |
**update_api_key_by_id_request** | [**UpdateApiKeyByIdRequest**]UpdateApiKeyByIdRequest.md |  | [required] |

### Return type

[**models::ApiKey**](ApiKey.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth)

### 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)