Domains-domainName-autoRenew:OPTIONS

From Hostway API Documentation
Revision as of 15:22, 15 November 2013 by Mike.robski (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

OPTIONS /domains/{domainName}/autoRenew

Check whether the autoRenew status of a domain can be set.

Contents

Request

OPTIONS /domains/{domainName}/autoRenew

Parameters

None.

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.

Request Headers

None.

Request Body

None

Response

Status Code

204 No content
Returned on success
400 Bad Request
Payment type is not credit card, domain is within 24 hours of expiration or has expired.

Response Body

None.

Example of setting the domain autoRenew status.

Request

OPTIONS /domains/example.com/autoRenew
 

Response

204 No content
 

See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox