# Enable or disable a standalone AI service

Endpoint: PUT /ai/management/standalone-service/{serviceId}
Version: 3.30.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `serviceId` (string, required)

## Request fields (application/json):

  - `enabled` (boolean, required)
    Whether to enable or disable this service

## Response 200:

  - `200` (unknown)
    Updated

## Response 200 fields (application/json):

  - `service_id` (string)
    Unique identifier for the standalone service

  - `display_name` (string)
    Human-readable name for this service

  - `description` (string)
    Description of what this service does

  - `status` (string)
    Deployment type of this service (always EMBEDDED)

  - `enabled` (boolean)
    Whether this service is currently enabled

## Response default:

  - `default` (unknown)
    Unexpected Error

## Response default fields (application/json):

  - `error` (string)
    Error code for any failure

  - `error_description` (string)
    Error description for any failure

