# TinapiMinka.DefaultApi

All URIs are relative to *https://achtin-tst.minka.io/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
[**updateActionLabels**](DefaultApi.md#updateActionLabels) | **PUT** /custom/action/{action_id} | Update labels of an action
[**updateSignerCustom**](DefaultApi.md#updateSignerCustom) | **PUT** /custom/signer/{signerAddress} | Actualiza un signer


<a name="updateActionLabels"></a>
# **updateActionLabels**
> GenericResponse updateActionLabels(actionId, updateActionRequest)

Update labels of an action

### Example
```javascript
var TinapiMinka = require('tinapi_minka');
var defaultClient = TinapiMinka.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure API key authorization: XNonce
var XNonce = defaultClient.authentications['XNonce'];
XNonce.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//XNonce.apiKeyPrefix = 'Token';
// Configure OAuth2 access token for authorization: oAuth2ClientCredentials
var oAuth2ClientCredentials = defaultClient.authentications['oAuth2ClientCredentials'];
oAuth2ClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

var apiInstance = new TinapiMinka.DefaultApi();
var actionId = "actionId_example"; // String | 
var updateActionRequest = new TinapiMinka.UpdateActionRequest(); // UpdateActionRequest | 
apiInstance.updateActionLabels(actionId, updateActionRequest).then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **actionId** | **String**|  | 
 **updateActionRequest** | [**UpdateActionRequest**](UpdateActionRequest.md)|  | 

### Return type

[**GenericResponse**](GenericResponse.md)

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [XNonce](../README.md#XNonce), [oAuth2ClientCredentials](../README.md#oAuth2ClientCredentials)

### HTTP request headers

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

<a name="updateSignerCustom"></a>
# **updateSignerCustom**
> GenericResponse updateSignerCustom(signerAddress, opts)

Actualiza un signer

### Example
```javascript
var TinapiMinka = require('tinapi_minka');
var defaultClient = TinapiMinka.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure API key authorization: XNonce
var XNonce = defaultClient.authentications['XNonce'];
XNonce.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//XNonce.apiKeyPrefix = 'Token';
// Configure OAuth2 access token for authorization: oAuth2ClientCredentials
var oAuth2ClientCredentials = defaultClient.authentications['oAuth2ClientCredentials'];
oAuth2ClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

var apiInstance = new TinapiMinka.DefaultApi();
var signerAddress = "signerAddress_example"; // String | 
var opts = {
  'signerRequest': new TinapiMinka.SignerRequest() // SignerRequest | 
};
apiInstance.updateSignerCustom(signerAddress, opts).then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **signerAddress** | **String**|  | 
 **signerRequest** | [**SignerRequest**](SignerRequest.md)|  | [optional] 

### Return type

[**GenericResponse**](GenericResponse.md)

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [XNonce](../README.md#XNonce), [oAuth2ClientCredentials](../README.md#oAuth2ClientCredentials)

### HTTP request headers

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

