Retire an exact Memory entry

POST
/v1/memory/entries/retire

Deactivate an entry against an explicit current Memory Revision without deleting history.

Authorization

BearerAuth
AuthorizationBearer <token>

Static bearer token used when local Server authentication is enabled.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/memory/entries/retire" \  -H "Content-Type: application/json" \  -d '{    "scope_id": "string",    "citation": {      "memory_ref": {        "family": "string",        "artifact_id": "string",        "revision": 1      },      "entry_id": "string",      "entry_version_id": "string"    }  }'
{  "memory": {    "family": "string",    "artifact_id": "string",    "revision": 1  },  "entry": {    "citation": {      "memory_ref": {        "family": "string",        "artifact_id": "string",        "revision": 1      },      "entry_id": "string",      "entry_version_id": "string"    },    "version": 1,    "kind": "string",    "text": "string",    "state": "active",    "source_refs": [      {        "name": "string",        "source_id": "string"      }    ],    "artifact_refs": [      {        "family": "string",        "artifact_id": "string",        "revision": 1      }    ]  }}