Accounts-accountNumber-web-domainName-ssl-renew:POST

From Hostway API Documentation
Jump to: navigation, search

POST /accounts/{accountNumber}/web/{domainName}/ssl

Renew SSL certificate

Contents


Request

POST /accounts/{accountNumber}/web/{domainName}/ssl

URI Parameters

accountNumber - string
The user account of the web site owner
domainName - string
The domain name of the website

Request Headers

Authorization - HTTP Authorization header [1]
The Authentication credentials of the client application.

Request Body

{
   "action": "renew",
   "term": {term}
}
 

Parameters

action - string
The action to perform, for renew the value must be "renew"
term - integer
Optional renewal term


Response

Status Code

204 No Content
Success
401 Unauthorized
The supplied credentials are invalid or do not provide permissions for this operation
403 Forbidden
The authenticated user is not allowed to access this resource

Examples

Renewing SSL certificate for 1 year

Request

POST /accounts/acct411359/web/g-test-fitnesse-websplanet-20150624-1057.us/ssl

{
   "action": "renew",
   "term": 1
}
 

Response

204 No Content

 



blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox