AuthorizationBearer <token>
In: header
Path Parameters
id*string
Format
uuidHeader Parameters
Idempotency-Key?string
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
application/json
application/json
application/json
curl -X POST "https://example.com/v1/memories/497f6eca-6276-4993-bfeb-53cbbbba6f08/approve" \ -H "Content-Type: application/json" \ -d '{}'{ "memory": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "sourceId": "797f5a94-3689-4ac8-82fd-d749511ea2b2", "submissionStatus": "approved", "audienceTag": "string", "sensitivityLabel": "public", "indexingStatus": "pending" }, "approval": { "note": "string", "approvedAt": "2019-08-24T14:15:22Z", "approvedBy": "c91bd49a-5920-43a3-b792-1660455e23bf" }, "auditLogId": "8c85466e-a824-44f4-b05a-bec7e4cee4ba", "indexingEnqueued": true, "cacheInvalidated": true, "replayed": true}{ "error": "string", "message": "string", "details": {}}{ "error": "string", "message": "string", "details": {}}{ "error": "string", "message": "string", "details": {}}{ "error": "string", "message": "string", "details": {}}{ "error": "string", "message": "string", "details": {}}{ "error": "string", "message": "string", "details": {}}{ "error": "string", "message": "string", "details": {}}{ "error": "string", "message": "string", "details": {}}{ "error": "string", "message": "string", "details": {}}