Object does not exist to execute method on. (SoftLayer_Dns_Domain_Registration::addNameserversToDomain)

104 Views Asked by At

I am having trouble with the addNameserversToDomain call. Every time I try to execute it I receive the error:

{
    "error": "Object does not exist to execute method on. (SoftLayer_Dns_Domain_Registration::addNameserversToDomain)",
    "code": "SoftLayer_Exception"
}

URL : https://api.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain_Registration/addNameserversToDomain.json

CURL Request

curl --location --request GET 'https://api.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain_Registration/addNameserversToDomain.json' \
--header 'Authorization: {{AuthToken}}' \
--header 'registrationInitParameters: true' \
--header 'Content-Type: application/json' \
--data-raw '{
    "nameservers": [
        "aa.com"
    ]
}' 
0

There are 0 best solutions below