Skip to content

Enable or disable a preset or one family, or promote one add-on (AAL3 step-up; 501 without the activation service)

POST
/v1/console/activation/apply
curl --request POST \
--url https://example.com/v1/console/activation/apply \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "action": "enable", "addon": "example", "family": "example", "preset": "example" }'

Applies an edition change: enable or disable a preset or one family, or promote one add-on. Step-up required; the answer says restart_required when the engine must restart to follow the change, and false when it already does. 501 without the activation service (a community build).

Media type application/json
object
action
required
string
Allowed values: enable disable promote
addon

Required for promote.

string
family

For enable/disable: one family on its own; name this or preset.

string
preset

For enable/disable: a preset; name this or family.

string

OK

Media type application/json
object
addons
required
Array<object>
object
env
required
string
family

The key of the family that sells the add-on.

string
in_build

The edition’s catalog has the add-on. Absent means not known; false is an observed absence.

boolean
key
required
string
license_covered

The verified licence covers it. Absent means not known; false is an observed absence.

boolean
needs_secret
boolean
preset
required
string
reason
string
state
required
string
Allowed values: active pending available console
summary
required
string
title
required
string
edition
required
string
families

The groups the edition sells add-ons in; each is turned on or off as a whole.

Array<object>
object
active
required

The add-ons of the family that are on now.

Array<string>
addons
required
Array<string>
key
required
string
title
required
string
preset
string
presets
required
Array<object>
object
addons
required
Array<string>
name
required
string
restart_required
required

A change already applied still needs an engine restart to take effect; false when the running engine follows it.

boolean
restarting
boolean
Example
{
"addons": [
{
"state": "active"
}
]
}

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"
}
}