The /api/edge/delete.json endpoint allows you to delete a specific part of the device’s configuration.
It does not support a HTTP GET.
This method is CSRF protected so also requires a X-CSRF-TOKEN (see Sensitive Requests (CSRF Protection)).
A HTTP POST to /api/edge/delete.json with the JSON configuration attributes to delete as the request content.
| Name | Type | Values | Description |
|---|---|---|---|
|
Object |
|
An object that contains status values for the deletion request. |
|
String |
A session ID |
The authorisation string for this session that confirms the user is correctly authenticated. |
|
String |
JSON configuration |
The parent section of the deleted value after the deletion. |
|
Object |
|
An object that contains status values for the configuration commit request. |
|
Object |
|
An object that contains status values for the configuration save request. |
|
Boolean |
|
Whether the API request was successful. |
{"custom-attribute":{"hi":null}}{"DELETE": {"failure": "0", "success": "1"}, "SESSION_ID": "742dfcc13b8d449aa36a4a1847bfcef7", "GET": {"custom-attribute": ""}, "COMMIT": {"failure": "0", "success": "1"}, "SAVE": {"success": "1"}, "success": true}