# Web Cloud › Internet › Access › Lifecycle API

> Part of the OVHcloud developer hub. Index of every page and section: https://developers.eu.ovhcloud.com/llms.txt
> The Web Cloud product's sections: https://developers.eu.ovhcloud.com/reference/web-cloud/llms.txt
> Everything in one file: https://developers.eu.ovhcloud.com/llms-full.txt

> 7 operations of the OVHcloud API. Calls carry `authorization: Bearer $OVH_TOKEN`; the EU host is shown, Canada and the United States answer on api.ca.ovhcloud.com and api.us.ovhcloud.com.

Page: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/access/lifecycle/

OpenAPI v1: https://api.eu.ovhcloud.com/1.0/__schemas/developer-hub-navigation/web-cloud/internet/access/lifecycle.json?format=openapi3
OpenAPI v2: https://api.eu.ovhcloud.com/v2/__schemas/developer-hub-navigation/web-cloud/internet/access/lifecycle.json?format=openapi3

## Operations

- `GET /xdsl/{serviceName}/canCancelResiliation` — Get whether a resiliation can be canceled
- `POST /xdsl/{serviceName}/cancelResiliation` — Cancel the resiliation of an xDSL access
- `POST /xdsl/{serviceName}/requestTotalDeconsolidation` — Switch an xDSL access to total deconsolidation
- `POST /xdsl/{serviceName}/resiliate` — Resiliate an xDSL access
- `GET /xdsl/{serviceName}/resiliationFollowup` — Get the resiliation follow-up of an xDSL access
- `GET /xdsl/{serviceName}/resiliationTerms` — Get the resiliation terms of an xDSL access
- `GET /xdsl/{serviceName}/totalDeconsolidationTerms` — Get the total deconsolidation terms of an xDSL access

## Get whether a resiliation can be canceled

`GET /1.0/xdsl/{serviceName}/canCancelResiliation`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/access/lifecycle/#get-xdsl-servicename-cancancelresiliation

**Status:** Stable production version  
**IAM actions:** `xdsl:apiovh:canCancelResiliation/get`

Returns whether the ongoing resiliation of the access can still be canceled.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `serviceName` | path | string | yes | Service name |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | boolean | successful operation |

```json
true
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/1.0/xdsl/{serviceName}/canCancelResiliation" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/xdsl/{serviceName}/canCancelResiliation")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/xdsl/{serviceName}/canCancelResiliation");

print_r($result);
?>
```

## Cancel the resiliation of an xDSL access

`POST /1.0/xdsl/{serviceName}/cancelResiliation`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/access/lifecycle/#post-xdsl-servicename-cancelresiliation

**Status:** Stable production version  
**IAM actions:** `xdsl:apiovh:cancelResiliation`

Cancels the ongoing resiliation of the access. Check first that it can be canceled with canCancelResiliation.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `serviceName` | path | string | yes | Service name |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | — | successful operation |

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/xdsl/{serviceName}/cancelResiliation" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.post("/xdsl/{serviceName}/cancelResiliation")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->post("/xdsl/{serviceName}/cancelResiliation");

print_r($result);
?>
```

## Switch an xDSL access to total deconsolidation

`POST /1.0/xdsl/{serviceName}/requestTotalDeconsolidation`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/access/lifecycle/#requestTotalDeconsolidation

**Status:** Stable production version  
**IAM actions:** `xdsl:apiovh:requestTotalDeconsolidation`

Switches the access to total deconsolidation, porting its line number with its RIO code unless noPortability is set. Returns the task that performs the change.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `serviceName` | path | string | yes | Service name |

### Request body (required)

Type: `xdsl.requestTotalDeconsolidation.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `noPortability` | boolean |  | Do not port the number |
| `rio` | string |  | A token to prove the ownership of the line number, needed to port the number |

```json
{
  "noPortability": true,
  "rio": "string"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.Task | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `doneDate` | string (date-time) | read-only | Date when the action was completed |
| `function` | string | read-only |  |
| `id` | integer | read-only |  |
| `isArchived` | boolean | read-only |  |
| `status` | xdsl.TaskStatusEnum | read-only | Status of a task. — one of `cancelled`, `doing`, `done`, `error`, `problem`, `todo` |
| `todoDate` | string (date-time) | read-only | Date when the action will start |
| `updateDate` | string (date-time) | read-only |  |

```json
{
  "doneDate": "2024-01-01T12:00:00Z",
  "function": "string",
  "id": 0,
  "isArchived": true,
  "status": "cancelled",
  "todoDate": "2024-01-01T12:00:00Z",
  "updateDate": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/xdsl/{serviceName}/requestTotalDeconsolidation" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: xdsl.requestTotalDeconsolidation.post
result = client.post("/xdsl/{serviceName}/requestTotalDeconsolidation",
	noPortability = None, # Do not port the number (type: boolean)
	rio = None, # A token to prove the ownership of the line number, needed to port the number (type: string)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: xdsl.requestTotalDeconsolidation.post
$result = $ovh->post("/xdsl/{serviceName}/requestTotalDeconsolidation", array(
	noPortability => null, // Do not port the number (type: boolean)
	rio => null, // A token to prove the ownership of the line number, needed to port the number (type: string)
));

print_r($result);
?>
```

## Resiliate an xDSL access

`POST /1.0/xdsl/{serviceName}/resiliate`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/access/lifecycle/#resiliateAccess

**Status:** Stable production version  
**IAM actions:** `xdsl:apiovh:resiliate`

Requests the resiliation of the access at the given date with a resiliation survey. Returns the resiliation status, effective date and whether the modem must be returned.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `serviceName` | path | string | yes | Service name |

### Request body (required)

Type: `xdsl.resiliate.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `resiliationDate` | string (date-time) |  | The desired resiliation date |
| `resiliationSurvey` | xdsl.ResiliationSurvey | yes | Information about the reason for the resiliation |
| `resiliationSurvey.comment` | string | read-only | Comment about this resiliation |
| `resiliationSurvey.type` | xdsl.ResiliationReasonEnum | read-only | Reason of a resiliation — one of `addressMove`, `billingProblems`, `cessationOfActivity`, `changeOfTerms`, `ftth`, `goToCompetitor`, `other`, `technicalProblems` |

```json
{
  "resiliationDate": "2024-01-01T12:00:00Z",
  "resiliationSurvey": {}
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.ResiliationFollowUpDetail | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `dateTodo` | string (date-time) | read-only | Date when the resiliation will take effect |
| `needModemReturn` | boolean | read-only | If the customer needs to return his modem |
| `registrationDate` | string (date-time) | read-only | Date when the resiliation was done |
| `status` | string | read-only | Status of the resiliation |

```json
{
  "dateTodo": "2024-01-01T12:00:00Z",
  "needModemReturn": true,
  "registrationDate": "2024-01-01T12:00:00Z",
  "status": "string"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/xdsl/{serviceName}/resiliate" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: xdsl.resiliate.post
result = client.post("/xdsl/{serviceName}/resiliate",
	resiliationDate = None, # The desired resiliation date (type: string)
	resiliationSurvey = None, # Information about the reason for the resiliation (type: xdsl.ResiliationSurvey)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: xdsl.resiliate.post
$result = $ovh->post("/xdsl/{serviceName}/resiliate", array(
	resiliationDate => null, // The desired resiliation date (type: string)
	resiliationSurvey => null, // Information about the reason for the resiliation (type: xdsl.ResiliationSurvey)
));

print_r($result);
?>
```

## Get the resiliation follow-up of an xDSL access

`GET /1.0/xdsl/{serviceName}/resiliationFollowup`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/access/lifecycle/#get-xdsl-servicename-resiliationfollowup

**Status:** Stable production version  
**IAM actions:** `xdsl:apiovh:resiliationFollowup/get`

Returns the status of the ongoing resiliation of the access, its effective date and whether the modem must be returned.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `serviceName` | path | string | yes | Service name |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.ResiliationFollowUpDetail | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `dateTodo` | string (date-time) | read-only | Date when the resiliation will take effect |
| `needModemReturn` | boolean | read-only | If the customer needs to return his modem |
| `registrationDate` | string (date-time) | read-only | Date when the resiliation was done |
| `status` | string | read-only | Status of the resiliation |

```json
{
  "dateTodo": "2024-01-01T12:00:00Z",
  "needModemReturn": true,
  "registrationDate": "2024-01-01T12:00:00Z",
  "status": "string"
}
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/1.0/xdsl/{serviceName}/resiliationFollowup" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/xdsl/{serviceName}/resiliationFollowup")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/xdsl/{serviceName}/resiliationFollowup");

print_r($result);
?>
```

## Get the resiliation terms of an xDSL access

`GET /1.0/xdsl/{serviceName}/resiliationTerms`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/access/lifecycle/#get-xdsl-servicename-resiliationterms

**Status:** Stable production version  
**IAM actions:** `xdsl:apiovh:resiliationTerms/get`

Returns, for a resiliation date, the amount due, the engagement end date, the minimum resiliation date and the available resiliation reasons.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `resiliationDate` | query | string (date-time) |  | The desired resiliation date |
| `serviceName` | path | string | yes | Service name |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.ResiliationTerms | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `due` | order.Price | read-only | Price with it's currency and textual representation |
| `due.currencyCode` | order.CurrencyCodeEnum | read-only | Currency code — one of `AUD`, `CAD`, `CZK`, `EUR`, `GBP`, `INR`, `LTL`, `MAD`, `N/A`, `PLN`, `SGD`, `TND`, … |
| `due.priceInUcents` | integer | read-only | Price in microcents |
| `due.text` | string | read-only | Textual representation |
| `due.value` | number | read-only | The effective price |
| `engageDate` | string (date-time) | read-only | Date until which the customer is engaged |
| `minResiliationDate` | string (date-time) | read-only | Minumum resiliationDate |
| `resiliationDate` | string (date-time) | read-only | Date at which the access will be resiliated |
| `resiliationReasons` | xdsl.ResiliationReasonEnum[] | read-only | List of available resiliation reasons |

```json
{
  "due": {
    "currencyCode": "AUD",
    "priceInUcents": 0,
    "text": "string",
    "value": 0
  },
  "engageDate": "2024-01-01T12:00:00Z",
  "minResiliationDate": "2024-01-01T12:00:00Z",
  "resiliationDate": "2024-01-01T12:00:00Z",
  "resiliationReasons": [
    "addressMove"
  ]
}
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/1.0/xdsl/{serviceName}/resiliationTerms" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/xdsl/{serviceName}/resiliationTerms")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/xdsl/{serviceName}/resiliationTerms");

print_r($result);
?>
```

## Get the total deconsolidation terms of an xDSL access

`GET /1.0/xdsl/{serviceName}/totalDeconsolidationTerms`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/access/lifecycle/#get-xdsl-servicename-totaldeconsolidationterms

**Status:** Stable production version  
**IAM actions:** `xdsl:apiovh:totalDeconsolidationTerms/get`

Returns the price, the monthly price and the engagement duration to switch the access to total deconsolidation.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `serviceName` | path | string | yes | Service name |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.DeconsolidationTerms | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `engagement` | number | read-only | Duration of month the access will be engaged |
| `monthlyPrice` | order.Price | read-only | Price with it's currency and textual representation |
| `monthlyPrice.currencyCode` | order.CurrencyCodeEnum | read-only | Currency code — one of `AUD`, `CAD`, `CZK`, `EUR`, `GBP`, `INR`, `LTL`, `MAD`, `N/A`, `PLN`, `SGD`, `TND`, … |
| `monthlyPrice.priceInUcents` | integer | read-only | Price in microcents |
| `monthlyPrice.text` | string | read-only | Textual representation |
| `monthlyPrice.value` | number | read-only | The effective price |
| `price` | order.Price | read-only | Price with it's currency and textual representation |
| `price.currencyCode` | order.CurrencyCodeEnum | read-only | Currency code — one of `AUD`, `CAD`, `CZK`, `EUR`, `GBP`, `INR`, `LTL`, `MAD`, `N/A`, `PLN`, `SGD`, `TND`, … |
| `price.priceInUcents` | integer | read-only | Price in microcents |
| `price.text` | string | read-only | Textual representation |
| `price.value` | number | read-only | The effective price |

```json
{
  "engagement": 0,
  "monthlyPrice": {
    "currencyCode": "AUD",
    "priceInUcents": 0,
    "text": "string",
    "value": 0
  },
  "price": {
    "currencyCode": "AUD",
    "priceInUcents": 0,
    "text": "string",
    "value": 0
  }
}
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/1.0/xdsl/{serviceName}/totalDeconsolidationTerms" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/xdsl/{serviceName}/totalDeconsolidationTerms")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/xdsl/{serviceName}/totalDeconsolidationTerms");

print_r($result);
?>
```
