---
title: Feature Control
slug: aidc/feature-control
createdAt: 2025-12-29T10:34:40.446Z
---

## <font color="#1d50a2">URLs Summary</font>

| **URL**                                       | **GET** | **POST** | **PATCH** | **PUT** | **DELETE** |
| --------------------------------------------- | ------- | -------- | --------- | ------- | ---------- |
| /rest/v1/running/features-control/&#x7B;name} | Y       | N        | Y         | N       | N          |

## <font color="#1d50a2">Examples</font>

### <font color="#1d50a2">Modify feature control.</font>

```json
PATCH HTTPS://{switch IP}/rest/v1/running/features-control/dhcp
{
    "admin-state": "disable",
    "auto-restart": "enable"
}
```

## <font color="#1d50a2">Properties Descriptions</font>

### <font color="#1d50a2">Features</font>

**Tree Diagrams**

```plaintext
  +--rw features-control
     +--rw feature* [name]
        +--rw name
        +--rw admin-state?
        +--rw auto-restart?
        +--ro running-status?
```

**Table of Properties**

| **Name**         | **Required** | **Type/Range**                                                                                                                   | **Description**                                                                            |
| ---------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| features-control | M            |                                                                                                                                  | Path-only node, has no configurable value.                                                 |
| feature          | M            |                                                                                                                                  | (sub-property of features-control)<br />Path-only node, has no configurable value.         |
| name             | M            | "dhcp"<br />"macsec"<br />"nat"<br />"snmp"<br />"telemetry"<br />"lldp"<br />"exporter"<br />"mux"<br />"eventd"<br />"cluster" | (sub-property of feature)<br />configurable feature's name(key of FEATURE table)           |
| admin-state      | O            | "disable"<br />"enable"                                                                                                          | (sub-property of feature)<br />state of the feature                                        |
| auto-restart     | O            | "disable"<br />"enable"                                                                                                          | (sub-property of feature)<br />auto restart after exiting                                  |
| running-status   | RO           | "enabled"<br />"disabled"<br />"failed"                                                                                          | (sub-property of feature)<br />feture container running state<br />Default value: "failed" |

