URL | GET {{basepath}}/hosting/:hosting_id/option/:hosting_option |
---|---|
Category | Hosting |
This allows you to retrieve the state of a single option
Returns a HostingOptionResponse object.
:hosting_id | {{hosting_id}} | |
---|---|---|
:hosting_option | malwareScanner |
GET {{basepath}}/hosting/:hosting_id/option/:hosting_option
:hosting_id | {{hosting_id}} | |
---|---|---|
:hosting_option | letsEncrypt |
200 OK
{
"responseId": "1_11331aad2f09d74d8e4f644cb9da4f78eabfdec6",
"status": "ok",
"message": "The option is attached",
"option": {
"name": "letsEncrypt",
"value": "disabled",
"arguments": []
}
}
GET {{basepath}}/hosting/:hosting_id/option/:hosting_option
:hosting_id | {{hosting_id}} | |
---|---|---|
:hosting_option | letsEncrypto |
404 Not Found
{
"responseId": "1_00b56a076ab364129185f10764320d2c0e2635a3",
"status": "error",
"errorCode": "does_not_exist",
"errorMessage": "This hosting option does not exist"
}