Domains-domainName-autoRenew:GET

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
 
m (1 revision: Release 87)
 

Latest revision as of 15:22, 15 November 2013

[edit] GET /domains/{domainName}/autoRenew

Get the current autoRenew status of a domain.

Contents

[edit] Request

GET /domains/{domainName}/autoRenew

[edit] Parameters

None.

[edit] URI Parameters

domainName - string
The domain name. IE: example.com is a valid domain name, whereas http://www.example.com or www.example.com are not. If the domain name is invalid, or is otherwise not registerable such as for a non-existent or non-supported TLD, an error will be returned. Domain names are case insensitive. The domain name must be an open or suspended product under the authenticated franchise.

[edit] Request Headers

None.

[edit] Request Body

None.

[edit] Response

[edit] Status Code

200 OK
Returns the domain autoRenew status.
400 Bad Request
The domain name is not valid.
403 Forbidden
Domain is not registered in this account and cannot be accessed.
404 Not Found
No domain records found for the given domain name.


[edit] Response Body

true
Means that domain autoRenew status is set, domain is renewed automatically.
false
Means that domain autoRenew status is not set, domain is not renewed automatically.

[edit] Example of getting the domain autoRenew status.

Request

GET /domains/example.com/autoRenew

 

Response

200 OK
Content-Type: application/json; charset=UTF-8

true
 

[edit] See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox