URL | POST {{basepath}}/domain/:name/renew |
---|---|
Category | REPP Domain |
Allows you to renew a domain. Can only be used if the domain is not set to auto renew.
Expects a DomainRenewRequest object.
Returns a DomainRenewResponse object.
:name | zerg-test-controlpanel-2023-06-23-02.frl |
---|
{
"period": 12
}
POST {{basepath}}/domain/:name/renew
{
"period": 12
}
:name | zerg-test-controlpanel-2023-06-14-03.frl |
---|
200 OK
{
"responseId": "mapi1_3c4693ddeeb5bf90462b777cd5ec589136503759",
"status": "ok",
"message": "Command completed successfully",
"domain": {
"name": "zerg-test-controlpanel-2023-06-14-03.frl",
"exDate": "2028-06-13T23:59:59+00:00"
}
}
POST {{basepath}}/domain/:name/renew
{
"period": 12
}
:name | zerg-test-controlpanel-2023-06-23-02.frl |
---|
409 Conflict
{
"responseId": "mapi1_cac39d0fba72ef5290b23c9c246a11e4ef507390",
"status": "error",
"errorCode": "epp-2304",
"errorMessage": "Object status prohibits operation; The domain name zerg-test-controlpanel-2023-06-23-02.frl is set to autorenew. You cannot renew this manually."
}