Delete an inbox item
const url = 'https://example.com/api/v1/notifications/inbox/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/v1/notifications/inbox/example \ --header 'Authorization: Bearer <token>'Remove one item from the caller’s inbox. If it is an active block reminder, the server also marks it done. The server returns no response body. Route: /api/v1/notifications/inbox/{id}. Inputs: id, operation_id. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Stable client identity for a retryable inbox or reminder action.
Responses
Section titled “Responses”object
Server-side Undo deadline in Unix milliseconds.
Mutation kind used to validate receipt access.
Stable client operation identity.
Public result; the inverse remains server-side.
Operation that already consumed this inverse, if any.
Examplegenerated
{ "expires_ms": 1, "kind": "example", "operation_id": "example", "result": "example", "undone_by": "example"}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}