|
| 1 | +# CyberSource::DeviceDeAssociationV3Api |
| 2 | + |
| 3 | +All URIs are relative to *https://apitest.cybersource.com* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**post_de_associate_v3_terminal**](DeviceDeAssociationV3Api.md#post_de_associate_v3_terminal) | **POST** /dms/v3/devices/deassociate | De-associate a device from merchant to account or reseller and from account to reseller V3 |
| 8 | + |
| 9 | + |
| 10 | +# **post_de_associate_v3_terminal** |
| 11 | +> Array<InlineResponse2005> post_de_associate_v3_terminal(device_de_associate_v3_request) |
| 12 | +
|
| 13 | +De-associate a device from merchant to account or reseller and from account to reseller V3 |
| 14 | + |
| 15 | +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. |
| 16 | + |
| 17 | +### Example |
| 18 | +```ruby |
| 19 | +# load the gem |
| 20 | +require 'cybersource_rest_client' |
| 21 | + |
| 22 | +api_instance = CyberSource::DeviceDeAssociationV3Api.new |
| 23 | + |
| 24 | +device_de_associate_v3_request = [CyberSource::DeviceDeAssociateV3Request.new] # Array<DeviceDeAssociateV3Request> | deviceId that has to be de-associated to the destination organizationId. |
| 25 | + |
| 26 | + |
| 27 | +begin |
| 28 | + #De-associate a device from merchant to account or reseller and from account to reseller V3 |
| 29 | + result = api_instance.post_de_associate_v3_terminal(device_de_associate_v3_request) |
| 30 | + p result |
| 31 | +rescue CyberSource::ApiError => e |
| 32 | + puts "Exception when calling DeviceDeAssociationV3Api->post_de_associate_v3_terminal: #{e}" |
| 33 | +end |
| 34 | +``` |
| 35 | + |
| 36 | +### Parameters |
| 37 | + |
| 38 | +Name | Type | Description | Notes |
| 39 | +------------- | ------------- | ------------- | ------------- |
| 40 | + **device_de_associate_v3_request** | [**Array<DeviceDeAssociateV3Request>**](DeviceDeAssociateV3Request.md)| deviceId that has to be de-associated to the destination organizationId. | |
| 41 | + |
| 42 | +### Return type |
| 43 | + |
| 44 | +[**Array<InlineResponse2005>**](InlineResponse2005.md) |
| 45 | + |
| 46 | +### Authorization |
| 47 | + |
| 48 | +No authorization required |
| 49 | + |
| 50 | +### HTTP request headers |
| 51 | + |
| 52 | + - **Content-Type**: application/json;charset=UTF-8 |
| 53 | + - **Accept**: application/json;charset=UTF-8 |
| 54 | + |
| 55 | + |
| 56 | + |
0 commit comments