Skip to main content
POST
/
services
/
{serviceId}
/
enabled
Toggle a service
curl --request POST \
  --url http://localhost:9371/services/{serviceId}/enabled \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true
}
'
{
  "id": "<string>",
  "enabled": true
}

Path Parameters

serviceId
string
required

Service identifier matching the installed manifest id.

Minimum string length: 1

Body

application/json

Request body used to toggle a service enabled state.

enabled
boolean
required

Desired enabled state for the service.

Response

Updated enabled state.

Response returned after toggling a service enabled state.

id
string
required

Identifier of the service whose enabled state was updated.

Minimum string length: 1
enabled
boolean
required

The new enabled state stored for the service.

Last modified on July 1, 2026