POST Cancel through the public confirmation form
/api/v1/public/cancellation
Public browser cancellation without account sign-in. Requires the contract identifier, matching email address, explicit confirmation and same-origin submission. Returns a durable receipt without disclosing unknown contracts.
On this page
Access and permissions
Public browser cancellation without account sign-in. Requires the contract identifier, matching email address, explicit confirmation and same-origin submission. Returns a durable receipt without disclosing unknown contracts.
No account sign-in is required. Any listed browser-origin checks and rate limits still apply.
Parameters and headers
No path, query or additional request-header parameters.
Request body
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | object; {"additionalProperties":false} | Yes | — |
| $.contract_id | string; {"format":"uuid"} | Yes | — |
| string; {"format":"email"} | Yes | — | |
| $.confirmed | string; {"const":"true"} | Yes | — |
| $.mode | string; {"enum":["ordinary","extraordinary"],"default":"ordinary"} | No | — |
| $.date | string; {"const":""} | string; {"format":"date"} | No | — |
| $.date (anyOf 1) | string; {"const":""} | No | — |
| $.date (anyOf 2) | string; {"format":"date"} | No | — |
| $.reason | string; {"maxLength":2000} | No | — |
| $ (allOf 1) | object | object | No | — |
| $ (allOf 1) (oneOf 1) | object | No | — |
| $ (allOf 1) (oneOf 1).mode | JSON; {"enum":["ordinary",""]} | No | — |
| $ (allOf 1) (oneOf 2) | object | No | — |
| $ (allOf 1) (oneOf 2).mode | JSON; {"const":"extraordinary"} | Yes | — |
| $ (allOf 1) (oneOf 2).reason | string; {"minLength":1,"maxLength":2000} | Yes | — |
Responses
text/html
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | string | Yes | — |
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 | — |
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 | — |
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 | — |
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 POST --cookie '__Host-mb_session=<session>' --header 'Origin: https://metribeacon.com' --header 'X-CSRF-Token: <csrf>' --header 'X-MetriBeacon-Session-Context: <context>' --header 'Content-Type: application/x-www-form-urlencoded' --data 'contract_id=00000000-0000-4000-8000-000000000001&email=reviewer%40example.test&confirmed=true' 'https://metribeacon.com/api/v1/public/cancellation'import requests
response = requests.request('POST', 'https://metribeacon.com/api/v1/public/cancellation', cookies={'__Host-mb_session': '<session>'}, headers={'Origin': 'https://metribeacon.com', 'X-CSRF-Token': '<csrf>', 'X-MetriBeacon-Session-Context': '<context>'}, data={'contract_id': '00000000-0000-4000-8000-000000000001', 'email': 'reviewer@example.test', 'confirmed': 'true'})
response.raise_for_status()const response = await fetch("/api/v1/public/cancellation", {method: "POST", credentials: 'same-origin', headers: {"Origin": "https://metribeacon.com", "X-CSRF-Token": "<csrf>", "X-MetriBeacon-Session-Context": "<context>", "Content-Type": "application/x-www-form-urlencoded"}, body: new URLSearchParams({"contract_id": "00000000-0000-4000-8000-000000000001", "email": "reviewer@example.test", "confirmed": "true"}), });package main
import (
"net/http"
"strings"
)
func main() {
req, _ := http.NewRequest("POST", "https://metribeacon.com/api/v1/public/cancellation", strings.NewReader("contract_id=00000000-0000-4000-8000-000000000001&email=reviewer%40example.test&confirmed=true"))
req.Header.Set("Origin", "https://metribeacon.com")
req.Header.Set("X-CSRF-Token", "<csrf>")
req.Header.Set("X-MetriBeacon-Session-Context", "<context>")
req.Header.Set("Cookie", "__Host-mb_session=<session>")
req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
response, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer response.Body.Close()
}