Skip to main content
POST
/
modules
/
{moduleId}
/
enabled
Toggle a module
curl --request POST \
  --url http://localhost:9371/modules/{moduleId}/enabled \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true
}
'
{
  "error": "<string>"
}

Path Parameters

moduleId
string
required

Module identifier.

Minimum string length: 1

Body

application/json

Request body used to toggle a module enabled state.

enabled
boolean
required

Desired enabled state for the module.

Response

The module enabled state was updated.

Last modified on July 1, 2026