|
| 1 | +# CyberSource.DeviceDeAssociationV3Api |
| 2 | + |
| 3 | +All URIs are relative to *https://apitest.cybersource.com* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**postDeAssociateV3Terminal**](DeviceDeAssociationV3Api.md#postDeAssociateV3Terminal) | **POST** /dms/v3/devices/deassociate | De-associate a device from merchant to account or reseller and from account to reseller V3 |
| 8 | + |
| 9 | + |
| 10 | +<a name="postDeAssociateV3Terminal"></a> |
| 11 | +# **postDeAssociateV3Terminal** |
| 12 | +> [InlineResponse2005] postDeAssociateV3Terminal(deviceDeAssociateV3Request) |
| 13 | +
|
| 14 | +De-associate a device from merchant to account or reseller and from account to reseller V3 |
| 15 | + |
| 16 | +A device will be de-associated from its current organization and moved up in the hierarchy. The device's new position will be determined by a specified destination, either an account or a portfolio. If no destination is provided, the device will default to the currently logged-in user. |
| 17 | + |
| 18 | +### Example |
| 19 | +```javascript |
| 20 | +var CyberSource = require('CyberSource'); |
| 21 | + |
| 22 | +var apiInstance = new CyberSource.DeviceDeAssociationV3Api(); |
| 23 | + |
| 24 | +var deviceDeAssociateV3Request = [new CyberSource.DeviceDeAssociateV3Request()]; // [DeviceDeAssociateV3Request] | deviceId that has to be de-associated to the destination organizationId. |
| 25 | + |
| 26 | + |
| 27 | +var callback = function(error, data, response) { |
| 28 | + if (error) { |
| 29 | + console.error(error); |
| 30 | + } else { |
| 31 | + console.log('API called successfully. Returned data: ' + data); |
| 32 | + } |
| 33 | +}; |
| 34 | +apiInstance.postDeAssociateV3Terminal(deviceDeAssociateV3Request, callback); |
| 35 | +``` |
| 36 | + |
| 37 | +### Parameters |
| 38 | + |
| 39 | +Name | Type | Description | Notes |
| 40 | +------------- | ------------- | ------------- | ------------- |
| 41 | + **deviceDeAssociateV3Request** | [**[DeviceDeAssociateV3Request]**](DeviceDeAssociateV3Request.md)| deviceId that has to be de-associated to the destination organizationId. | |
| 42 | + |
| 43 | +### Return type |
| 44 | + |
| 45 | +[**[InlineResponse2005]**](InlineResponse2005.md) |
| 46 | + |
| 47 | +### Authorization |
| 48 | + |
| 49 | +No authorization required |
| 50 | + |
| 51 | +### HTTP request headers |
| 52 | + |
| 53 | + - **Content-Type**: application/json;charset=UTF-8 |
| 54 | + - **Accept**: application/json;charset=UTF-8 |
| 55 | + |
0 commit comments