Accounts-accountNumber-web-domainName-ssl-renew:POST
From Hostway API Documentation
(Difference between revisions)
(→POST /accounts/{accountNumber}/web/{domainName}/ssl) |
Mike.robski (Talk | contribs) m (1 revision: Release 109) |
Latest revision as of 12:16, 24 July 2015
[edit] POST /accounts/{accountNumber}/web/{domainName}/ssl
Renew SSL certificate
Contents |
[edit] Request
POST /accounts/{accountNumber}/web/{domainName}/ssl
[edit] URI Parameters
- accountNumber - string
- The user account of the web site owner
- domainName - string
- The domain name of the website
[edit] Request Headers
- Authorization - HTTP Authorization header [1]
- The Authentication credentials of the client application.
[edit] Request Body
{ "action": "renew", "term": {term} }
[edit] Parameters
- action - string
- The action to perform, for renew the value must be "renew"
- term - integer
- Optional renewal term
[edit] Response
[edit] 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
[edit] Examples
[edit] 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