- API Reference
- Box API
- System settings
Delete a CPE device label and take down its interface
Use this to remove a CPE label. The label must match the stored value exactly (same type as in /get_label_list).
POST
/delete_labelRequest body application/json · required
labelinteger | stringrequired
Responses
Result.
statusbooleanrequired
True when the box accepted the request.
msgstringrequired
Outcome code or message (see the operation's error table).
The caller is not trusted (not loopback, LAN, whitelisted or allowed Tailscale) and sent no valid Basic credentials. The body depends on whether "Basic auth for all API" is on. Routes that also use the panel login can answer a plain-text 401 "Unauthorized Access" instead.
Errors returned in msg
| msg | Meaning | What to do |
|---|---|---|
Label not exist! | No stored label equals the value sent. | Copy the label from GET /get_label_list. |