Let the platform do the work

/Administration/packages/:id/enable GET

Overview

[ADMIN] PackageManager enable a package.

Summary

Enable the specified package. Package id hash must be provided. Package id could be found in installed package list.

Response

Returns http status 200 OK and enabled package ID if request is successful.

  {
"id": "56365210-4cce-11ea-a7bf-acde48001122"
}

Otherwise returns http status 4xx with errors.

  {
"error": "not_found",
"error_message": "Could not find package by ID."
}

Change Log

Version Change
v11.8

Added /Administration/packages/:id/enable GET endpoint.