Enable plugin promotions

This function determines if plugin promotions show in cPanel.

SecurityBasicAuth
Request
query Parameters
plugin
required
string

The plugin whose promotions to target.

Note:

The only valid value is 'koality', which targets Site Quality Monitoring.

Example: plugin=koality
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Plugins/can_show_promotions
Request samples
uapi --output=jsonpretty \
  --user=username \
  Plugins \
  can_show_promotions
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "can_show_promotions",
  • "module": "Plugins",
  • "result": {
    • "data": {
      • "can_show_promotions": 1
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}