DELETE Restore automatic summary metrics
/api/v1/devices/{id}/summary-metrics
Choose one to four ordered summary values or configured series for your personal view of this monitor. Lists show all choices; dashboard cards show the first three. Viewer access is sufficient. This does not change collection or shared monitor settings. GET searches configured series by name with q (up to 128 characters), returning up to 50 series per page plus summary options on the first page; next_cursor continues the page. Stable references use summary:, check: or series:. Missing or disabled saved sources retain an unavailable slot. PUT and DELETE require expected_revision and Idempotency-Key; conflicts return 409. DELETE restores automatic choices. Browser sessions only.
On this page
Access and permissions
Choose one to four ordered summary values or configured series for your personal view of this monitor. Lists show all choices; dashboard cards show the first three. Viewer access is sufficient. This does not change collection or shared monitor settings. GET searches configured series by name with q (up to 128 characters), returning up to 50 series per page plus summary options on the first page; next_cursor continues the page. Stable references use summary:, check: or series:. Missing or disabled saved sources retain an unavailable slot. PUT and DELETE require expected_revision and Idempotency-Key; conflicts return 409. DELETE restores automatic choices. Browser sessions only.
Browser session: __Host-mb_session cookie.
When using a browser session for a mutation, send the current CSRF token in X-CSRF-Token with the same-site cookie. OAuth consent uses its documented form field.
Parameters and headers
| Field | Location | Type and limits | Required | Meaning |
|---|---|---|---|---|
| id | Path | string; {"format":"uuid"} | Yes | Resource UUID from the path. It must exist and be accessible to the acting identity. |
| Idempotency-Key | Header | string; {"minLength":16,"maxLength":128} | Yes | Persist one identifier before the request and reuse it only for the same normalized payload and resource. Reusing it with different content returns 409. |
Request body
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | object; {"additionalProperties":false} | Yes | — |
| $.expected_revision | integer; {"minimum":0} | Yes | Current order revision. Supply it as expected_revision when moving or resetting; another change returns 409. |
Responses
application/json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | object; {"additionalProperties":false} | Yes | — |
| $.revision | integer; {"minimum":0} | Yes | — |
| $.custom | boolean | Yes | — |
| $.selection | array<object; {"additionalProperties":true}>; {"maxItems":4} | Yes | — |
| $.selection[] | object; {"additionalProperties":true} | Yes | — |
| $.selection[].ref | string | Yes | — |
| $.selection[].key | string | Yes | — |
| $.selection[].name | string | No | — |
| $.selection[].unit | string | Yes | — |
| $.selection[].value | number | string | null | Yes | — |
| $.selection[].freshness | string | Yes | — |
| $.selection[].sources | array<object> | Yes | — |
| $.selection[].sources[] | object | Yes | — |
| $.recommended | array<object; {"additionalProperties":true}>; {"maxItems":4} | Yes | — |
| $.recommended[] | object; {"additionalProperties":true} | Yes | — |
| $.recommended[].ref | string | Yes | — |
| $.recommended[].key | string | Yes | — |
| $.recommended[].name | string | No | — |
| $.recommended[].unit | string | Yes | — |
| $.recommended[].value | number | string | null | Yes | — |
| $.recommended[].freshness | string | Yes | — |
| $.recommended[].sources | array<object> | Yes | — |
| $.recommended[].sources[] | object | Yes | — |
| $.options | array<object; {"additionalProperties":true}> | Yes | — |
| $.options[] | object; {"additionalProperties":true} | Yes | — |
| $.options[].ref | string | Yes | — |
| $.options[].key | string | Yes | — |
| $.options[].name | string | No | — |
| $.options[].unit | string | Yes | — |
| $.options[].value | number | string | null | Yes | — |
| $.options[].freshness | string | Yes | — |
| $.options[].sources | array<object> | Yes | — |
| $.options[].sources[] | object | Yes | — |
| $.next_cursor | string | Yes | — |
| Stable error codes |
|---|
| unauthorized |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| $.limit | integer | string | No | Resource protection returns HTTP 429 with Retry-After, a limit identifier and scope. Retry only after the waiting time; telemetry retries must preserve IDs and payloads. Rejected telemetry batches are atomic. |
| $.scope | string; {"enum":["owner","actor","free_pool","platform","capacity","network"]} | No | — |
| $.field_errors | array<object>; {"maxItems":64} | No | — |
| $.field_errors[] | object | Yes | — |
| $.field_errors[].path | string; {"maxLength":256} | Yes | — |
| $.field_errors[].message_key | string | Yes | — |
| $.field_errors[].message_params | object; {"additionalProperties":true} | No | — |
| Stable error codes |
|---|
| browser_session_required |
| forbidden |
| csrf |
| invalid_origin |
| workspace_scope |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| $.limit | integer | string | No | Resource protection returns HTTP 429 with Retry-After, a limit identifier and scope. Retry only after the waiting time; telemetry retries must preserve IDs and payloads. Rejected telemetry batches are atomic. |
| $.scope | string; {"enum":["owner","actor","free_pool","platform","capacity","network"]} | No | — |
| $.field_errors | array<object>; {"maxItems":64} | No | — |
| $.field_errors[] | object | Yes | — |
| $.field_errors[].path | string; {"maxLength":256} | Yes | — |
| $.field_errors[].message_key | string | Yes | — |
| $.field_errors[].message_params | object; {"additionalProperties":true} | No | — |
| Stable error codes |
|---|
| not_found |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| $.limit | integer | string | No | Resource protection returns HTTP 429 with Retry-After, a limit identifier and scope. Retry only after the waiting time; telemetry retries must preserve IDs and payloads. Rejected telemetry batches are atomic. |
| $.scope | string; {"enum":["owner","actor","free_pool","platform","capacity","network"]} | No | — |
| $.field_errors | array<object>; {"maxItems":64} | No | — |
| $.field_errors[] | object | Yes | — |
| $.field_errors[].path | string; {"maxLength":256} | Yes | — |
| $.field_errors[].message_key | string | Yes | — |
| $.field_errors[].message_params | object; {"additionalProperties":true} | No | — |
| Stable error codes |
|---|
| revision_conflict |
| idempotency_conflict |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| $.limit | integer | string | No | Resource protection returns HTTP 429 with Retry-After, a limit identifier and scope. Retry only after the waiting time; telemetry retries must preserve IDs and payloads. Rejected telemetry batches are atomic. |
| $.scope | string; {"enum":["owner","actor","free_pool","platform","capacity","network"]} | No | — |
| $.field_errors | array<object>; {"maxItems":64} | No | — |
| $.field_errors[] | object | Yes | — |
| $.field_errors[].path | string; {"maxLength":256} | Yes | — |
| $.field_errors[].message_key | string | Yes | — |
| $.field_errors[].message_params | object; {"additionalProperties":true} | No | — |
| Stable error codes |
|---|
| invalid_input |
| invalid_device |
| invalid_reference |
| invalid_idempotency_key |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| $.limit | integer | string | No | Resource protection returns HTTP 429 with Retry-After, a limit identifier and scope. Retry only after the waiting time; telemetry retries must preserve IDs and payloads. Rejected telemetry batches are atomic. |
| $.scope | string; {"enum":["owner","actor","free_pool","platform","capacity","network"]} | No | — |
| $.field_errors | array<object>; {"maxItems":64} | No | — |
| $.field_errors[] | object | Yes | — |
| $.field_errors[].path | string; {"maxLength":256} | Yes | — |
| $.field_errors[].message_key | string | Yes | — |
| $.field_errors[].message_params | object; {"additionalProperties":true} | No | — |
| Stable error codes |
|---|
| unavailable |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| $.limit | integer | string | No | Resource protection returns HTTP 429 with Retry-After, a limit identifier and scope. Retry only after the waiting time; telemetry retries must preserve IDs and payloads. Rejected telemetry batches are atomic. |
| $.scope | string; {"enum":["owner","actor","free_pool","platform","capacity","network"]} | No | — |
| $.field_errors | array<object>; {"maxItems":64} | No | — |
| $.field_errors[] | object | Yes | — |
| $.field_errors[].path | string; {"maxLength":256} | Yes | — |
| $.field_errors[].message_key | string | Yes | — |
| $.field_errors[].message_params | object; {"additionalProperties":true} | No | — |
Retries and asynchronous work
This change does not have a general retry guarantee. If the response is unclear, read the affected resource before trying again. Follow Retry-After waiting times and request new sign-in or action codes when they expire.
Request examples
Replace demo IDs, timestamps and placeholders with your own values. For a retry, keep the same IDs, time and content. These examples do not run requests on this page.
Keep login links, codes, cookies and keys private. Do not print them in logs or share them in support requests.
curl --request DELETE --header "Cookie: $MB_COOKIE" --header "X-CSRF-Token: $MB_CSRF" --header "Idempotency-Key: $MB_OPERATION_ID" --header "Content-Type: application/json" --data '{"expected_revision":0}' "https://metribeacon.com/api/v1/devices/00000000-0000-4000-8000-000000000001/summary-metrics"
import json, os, urllib.request
headers = {"Cookie": os.environ["MB_COOKIE"], "X-CSRF-Token": os.environ["MB_CSRF"], "Content-Type": "application/json"}
headers["Idempotency-Key"] = os.environ["MB_OPERATION_ID"]
request = urllib.request.Request("https://metribeacon.com/api/v1/devices/00000000-0000-4000-8000-000000000001/summary-metrics", method="DELETE", headers=headers, data='{"expected_revision":0}'.encode())
with urllib.request.urlopen(request, timeout=30) as response:
print(json.load(response))
const response = await fetch("https://metribeacon.com/api/v1/devices/00000000-0000-4000-8000-000000000001/summary-metrics", {method: "DELETE", credentials: "same-origin", headers: {"Content-Type":"application/json", "X-CSRF-Token":csrfToken, "Idempotency-Key":operationId}, body:JSON.stringify({"expected_revision":0})});
console.log(response.status, await response.json());
package main
import ("fmt"; "net/http"; "os"; "strings"; "time")
func main() {
client := &http.Client{Timeout:30*time.Second}
request, err := http.NewRequest("DELETE","https://metribeacon.com/api/v1/devices/00000000-0000-4000-8000-000000000001/summary-metrics",strings.NewReader("{\"expected_revision\":0}"))
if err != nil { panic(err) }
request.Header.Set("Cookie",os.Getenv("MB_COOKIE"))
request.Header.Set("X-CSRF-Token",os.Getenv("MB_CSRF"))
request.Header.Set("Content-Type","application/json")
request.Header.Set("Idempotency-Key",os.Getenv("MB_OPERATION_ID"))
response,err := client.Do(request)
if err != nil {panic(err)}
defer response.Body.Close()
fmt.Println(response.StatusCode)
}