Resello REST API Documentation

PUT domain/[domain_name]

Updates the auto renew state for this domain.

Resource URL

https://backoffice.hostcontrol.com/api/v1/domain/[domain_name]

Parameters

Parameter Required? Description Example value
renew optional Boolean for setting the auto renew state. true

Example request


PUT    https://backoffice.hostcontrol.com/api/v1/domain/exampledomainnnn.com
PUT Data

{
    "renew": true
}
{
    "result": {
        "status": "delivered",
        "updated": "2013-10-22T14:05:24.799934+00:00",
        "managed": false,
        "deleted": null,
        "expires": "2014-10-22T14:05:24.798780+00:00",
        "is_customer_manageable": true,
        "customer": {
            "is_enabled": true,
            "updated": "2013-10-22T11:46:14.077236+00:00",
            "is_dns_management_enabled": true,
            "created": "2013-10-22T11:46:14.077191+00:00",
            "primary_contact": {
                "city": "Groningen",
                "fax": "",
                "voice": "+31.612345678",
                "updated": "2013-10-22T11:46:14.084454+00:00",
                "name": "John Doe",
                "created": "2013-10-22T11:46:14.084419+00:00",
                "gender": null,
                "organisation": "",
                "extra": {},
                "zipcode": "1234AA",
                "email": "john@doe.com",
                "state": "Groningen",
                "address": "Street 123",
                "domains": [
                    "exampledomainnnnnn.com",
                    "exampledomainnnn.com",
                    "iasdjoaisjdasoijd.com",
                    "testdomainnn.com"
                ],
                "vat_number": null,
                "country": {
                    "code": "NL",
                    "name": "Netherlands"
                },
                "type": "primary",
                "id": 55
            },
            "is_receiving_support_notifications": true,
            "is_ns_management_enabled": true,
            "is_verified": true,
            "id": 35
        },
        "name": "exampledomainnnn.com",
        "redirects": [],
        "created": "2013-10-22T14:05:24.799853+00:00",
        "is_privacy_protect_enabled": false,
        "interval": 12,
        "hosting": null,
        "renew": true,
        "tld": {
            "name": "com"
        }
    },
    "success": true
}