Return service configuration key

This function returns a specific configuration key for a service.

Authorizations:
query Parameters
key
required
string

The configuration key's name.

Example: key=mail_process_size
service
required
string

The service's name.

Example: service=dovecot

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  get_service_config_key \
  service='dovecot' \
  key='mail_process_size'

Response samples

Content type
application/json
{
  • "data": {
    • "key name": "512",
    • "mail_process_size": null
    },
  • "metadata": {
    • "command": "get_service_config_key",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}