---
title: "Reject a memory proposal"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reject a memory proposal

Path: CloudRaker Workspace API › My assistant

`POST /me/assistant/memory-repo/proposals/{n}/reject`

Closes the proposal without applying it.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `n` (`rejectMyAssistantMemoryRepoProposal.path.n`; integer, required)
  - min 1; max 9007199254740991

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.cloudraker.com/me/assistant/memory-repo/proposals/<n>/reject' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/me/assistant/memory-repo/proposals/<n>/reject';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/me/assistant/memory-repo/proposals/<n>/reject"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
```

## Responses

### 200

Reject a memory proposal

#### Example

```json
{
  "data": {
    "number": 0,
    "from": "string",
    "into": "string",
    "state": "open",
    "title": "string",
    "author": {
      "name": "string",
      "email": "string"
    },
    "createdAt": "string",
    "mergedSha": "string"
  }
}
```

- `data` (`rejectMyAssistantMemoryRepoProposal.response.200.data`; object, required)
  - `number` (`rejectMyAssistantMemoryRepoProposal.response.200.data.number`; number, required)
  - `from` (`rejectMyAssistantMemoryRepoProposal.response.200.data.from`; string, required)
  - `into` (`rejectMyAssistantMemoryRepoProposal.response.200.data.into`; string, required)
  - `state` (`rejectMyAssistantMemoryRepoProposal.response.200.data.state`; string, required)
    - one of `"open"`, `"merged"`, `"closed"`
  - `title` (`rejectMyAssistantMemoryRepoProposal.response.200.data.title`; string, required)
  - `author` (`rejectMyAssistantMemoryRepoProposal.response.200.data.author`; object, required)
    - `name` (`rejectMyAssistantMemoryRepoProposal.response.200.data.author.name`; string, required)
    - `email` (`rejectMyAssistantMemoryRepoProposal.response.200.data.author.email`; string, required)
  - `createdAt` (`rejectMyAssistantMemoryRepoProposal.response.200.data.createdAt`; string, required)
  - `mergedSha` (`rejectMyAssistantMemoryRepoProposal.response.200.data.mergedSha`; string, optional)

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`rejectMyAssistantMemoryRepoProposal.response.400.success`; boolean, required)
  - one of `false`
- `error` (`rejectMyAssistantMemoryRepoProposal.response.400.error`; array<unknown>, required)
- `data` (`rejectMyAssistantMemoryRepoProposal.response.400.data`; unknown, required)

### 403

`personal_account_required` — only the owner may open this memory.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`rejectMyAssistantMemoryRepoProposal.response.403.error`; string, required) — The sentence a human reads.
- `error_code` (`rejectMyAssistantMemoryRepoProposal.response.403.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`rejectMyAssistantMemoryRepoProposal.response.403.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`rejectMyAssistantMemoryRepoProposal.response.403.issues.path`; string, required)
  - `code` (`rejectMyAssistantMemoryRepoProposal.response.403.issues.code`; string, required)
  - `message` (`rejectMyAssistantMemoryRepoProposal.response.403.issues.message`; string, required)

### 404

`memory_not_available` — this memory does not exist for you.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`rejectMyAssistantMemoryRepoProposal.response.404.error`; string, required) — The sentence a human reads.
- `error_code` (`rejectMyAssistantMemoryRepoProposal.response.404.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`rejectMyAssistantMemoryRepoProposal.response.404.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`rejectMyAssistantMemoryRepoProposal.response.404.issues.path`; string, required)
  - `code` (`rejectMyAssistantMemoryRepoProposal.response.404.issues.code`; string, required)
  - `message` (`rejectMyAssistantMemoryRepoProposal.response.404.issues.message`; string, required)

### 409

`not_open` — the proposal was already applied.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`rejectMyAssistantMemoryRepoProposal.response.409.error`; string, required) — The sentence a human reads.
- `error_code` (`rejectMyAssistantMemoryRepoProposal.response.409.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`rejectMyAssistantMemoryRepoProposal.response.409.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`rejectMyAssistantMemoryRepoProposal.response.409.issues.path`; string, required)
  - `code` (`rejectMyAssistantMemoryRepoProposal.response.409.issues.code`; string, required)
  - `message` (`rejectMyAssistantMemoryRepoProposal.response.409.issues.message`; string, required)


Source: https://docs.cloudraker.com/workspace/api/my-assistant/reject-my-assistant-memory-repo-proposal/index.md
