# IdentificationDocumentTemplatesConfigurationApi

All URIs are relative to *http://localhost:8889/api*

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**get**](#get) | **GET** /configuration/iddocumenttemplates.yaml | Get ID templates configuration|
|[**update**](#update) | **PUT** /configuration/iddocumenttemplates.yaml | Update ID templates configuration|

# **get**
> IdentificationDocumentTemplatesConfiguration get()


### Example

```typescript
import {
    IdentificationDocumentTemplatesConfigurationApi,
    Configuration
} from './api';

const configuration = new Configuration();
const apiInstance = new IdentificationDocumentTemplatesConfigurationApi(configuration);

const { status, data } = await apiInstance.get();
```

### Parameters
This endpoint does not have any parameters.


### Return type

**IdentificationDocumentTemplatesConfiguration**

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/vnd.mambu.v2+yaml


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | ID templates configuration returned. |  -  |
|**401** | Unauthorized |  -  |
|**403** | Forbidden |  -  |

[[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**
> update()


### Example

```typescript
import {
    IdentificationDocumentTemplatesConfigurationApi,
    Configuration,
    IdentificationDocumentTemplatesConfiguration
} from './api';

const configuration = new Configuration();
const apiInstance = new IdentificationDocumentTemplatesConfigurationApi(configuration);

let identificationDocumentTemplatesConfiguration: IdentificationDocumentTemplatesConfiguration; // (optional)

const { status, data } = await apiInstance.update(
    identificationDocumentTemplatesConfiguration
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **identificationDocumentTemplatesConfiguration** | **IdentificationDocumentTemplatesConfiguration**|  | |


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: application/yaml
 - **Accept**: application/vnd.mambu.v2+yaml


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | ID templates configuration updated. |  -  |
|**400** | A validation error occurred |  -  |
|**401** | Unauthorized |  -  |
|**403** | Forbidden |  -  |
|**404** | ID templates configuration not found. |  -  |

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

