Skip to content

Set which optional modules the engine runs; the engine restarts itself to apply the change (AAL3 step-up)

PUT
/v1/console/modules
curl --request PUT \
--url https://example.com/v1/console/modules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "selected": [ "example" ] }'

Sets which optional modules the engine runs, by name. The selection is recorded in the deployment settings and the engine restarts itself to apply it (the reply says so); an unknown module is rejected.

Media type application/json
object
selected
required

The modules to run, by name.

Array<string>
Example generated
{
"selected": [
"example"
]
}

OK

Media type application/json
object
modules
required
Array<object>
object
activated_by

The active edition add-ons that run it although it may not be selected.

Array<string>
always_on

The engine cannot run without it; it cannot be deselected.

boolean
holds_data

Its tables hold rows in this installation. A module that is not running keeps that data, but nothing acts on it.

boolean
name
required
string
required_by

The running modules that keep it on although it is not selected.

Array<string>
requires
Array<string>
running
required

It runs on this node now (selected, required, or always on).

boolean
selected
required

The administrator chose it.

boolean
restarting

The engine is restarting itself to apply the change.

boolean
running_sessions
required

Sessions this engine runs now. The restart that applies a change stops every one of them; each can be resumed.

integer
Example generated
{
"modules": [
{
"activated_by": [
"example"
],
"always_on": true,
"holds_data": true,
"name": "example",
"required_by": [
"example"
],
"requires": [
"example"
],
"running": true,
"selected": true
}
],
"restarting": true,
"running_sessions": 1
}

Bad request

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Unauthenticated

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Forbidden

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Not found

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Conflict / setup required

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Rate limited

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}