Show hosting option

Request Information
URL GET {{basepath}}/hosting/:hosting_id/option/:hosting_option
CategoryHosting

Description

This allows you to retrieve the state of a single option

Returns a HostingOptionResponse object.

Url variables
:hosting_id{{hosting_id}}
:hosting_optionmalwareScanner

Example responses

Show hosting specific option
Request Method & URL
GET {{basepath}}/hosting/:hosting_id/option/:hosting_option
Url variables
:hosting_id{{hosting_id}}
:hosting_optionletsEncrypt
Response Code:
200 OK
Response Body:
{
    "responseId": "1_11331aad2f09d74d8e4f644cb9da4f78eabfdec6",
    "status": "ok",
    "message": "The option is attached",
    "option": {
        "name": "letsEncrypt",
        "value": "disabled",
        "arguments": []
    }
}
Show hosting option that does not exist
Request Method & URL
GET {{basepath}}/hosting/:hosting_id/option/:hosting_option
Url variables
:hosting_id{{hosting_id}}
:hosting_optionletsEncrypto
Response Code:
404 Not Found
Response Body:
{
    "responseId": "1_00b56a076ab364129185f10764320d2c0e2635a3",
    "status": "error",
    "errorCode": "does_not_exist",
    "errorMessage": "This hosting option does not exist"
}