---
title: "Update your private integration"
---

> 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.

# Update your private integration

Path: CloudRaker Workspace API › My assistant

`PATCH /me/assistant/connections/{connectionId}`

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `connectionId` (`updateMyAssistantConnection.path.connectionId`; string, required)

## Request body

_Required._

- `name` (`updateMyAssistantConnection.name`; string, optional)
  - minLength 1; maxLength 200
- `slug` (`updateMyAssistantConnection.slug`; string, optional)
  - minLength 1; maxLength 64; pattern `^[a-z0-9]+(-[a-z0-9]+)*$`
- `config` (`updateMyAssistantConnection.config`; map<unknown>, optional)
- `operationPolicy` (`updateMyAssistantConnection.operationPolicy`; string, optional)
  - one of `"read_only"`, `"all"`
- `enabled` (`updateMyAssistantConnection.enabled`; boolean, optional)

## Example request

```json
{
  "name": "string",
  "slug": "string",
  "config": {
    "property1": null,
    "property2": null
  },
  "operationPolicy": "read_only",
  "enabled": true
}
```

## Code samples

### cURL

```bash
curl --request PATCH \
  --url 'https://api.cloudraker.com/me/assistant/connections/<connectionId>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "string",
  "slug": "string",
  "config": {
    "property1": null,
    "property2": null
  },
  "operationPolicy": "read_only",
  "enabled": true
}
'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/me/assistant/connections/<connectionId>';
const options = {
  method: 'PATCH',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({
    name: 'string',
    slug: 'string',
    config: {property1: null, property2: null},
    operationPolicy: 'read_only',
    enabled: true
  })
};

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/connections/<connectionId>"

payload = {
    "name": "string",
    "slug": "string",
    "config": {
        "property1": None,
        "property2": None
    },
    "operationPolicy": "read_only",
    "enabled": True
}
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.patch(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Update your private integration

#### Example

```json
{
  "data": {
    "id": "string",
    "slug": "slack-acme",
    "scope": "space",
    "spaceId": "string",
    "ownerUserId": "string",
    "type": "remote_mcp",
    "name": "Slack (Acme)",
    "config": {
      "property1": null,
      "property2": null
    },
    "credentialRef": "string",
    "definitionId": "string",
    "operationPolicy": "read_only",
    "authStatus": "connected",
    "authErrorCode": "string",
    "authErrorMessage": "string",
    "authCheckedAt": "string",
    "tokenExpiresAt": "string",
    "verificationStatus": "ready",
    "verificationMessage": "string",
    "verificationCheckedAt": "string",
    "installedActionId": "string",
    "enabled": true,
    "createdBy": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "deletedAt": "string",
    "contract": {
      "schemaVersion": 1,
      "connectionType": "string",
      "driver": "remote_mcp",
      "capabilities": [
        "mcp_tools"
      ],
      "verification": {
        "strategy": "mcp_discovery",
        "live": true
      },
      "permissions": {
        "read": true,
        "write": true
      },
      "provenance": "builtin"
    }
  }
}
```

- `data` (`updateMyAssistantConnection.response.200.data`; object, required)
  - `id` (`updateMyAssistantConnection.response.200.data.id`; string, required)
  - `slug` (`updateMyAssistantConnection.response.200.data.slug`; string, required)
    - example `"slack-acme"`
  - `scope` (`updateMyAssistantConnection.response.200.data.scope`; string, required)
    - one of `"space"`, `"user"`
  - `spaceId` (`updateMyAssistantConnection.response.200.data.spaceId`; string, required)
  - `ownerUserId` (`updateMyAssistantConnection.response.200.data.ownerUserId`; string | null, required)
  - `type` (`updateMyAssistantConnection.response.200.data.type`; string, required)
    - example `"remote_mcp"`
  - `name` (`updateMyAssistantConnection.response.200.data.name`; string, required)
    - example `"Slack (Acme)"`
  - `config` (`updateMyAssistantConnection.response.200.data.config`; map<unknown>, required) — Plaintext, non-secret settings. A credential is never stored here — secrets live in the encrypted secret store.
  - `credentialRef` (`updateMyAssistantConnection.response.200.data.credentialRef`; string | null, required) — An opaque reference to the stored secret — never a secret value.
  - `definitionId` (`updateMyAssistantConnection.response.200.data.definitionId`; string | null, required)
  - `operationPolicy` (`updateMyAssistantConnection.response.200.data.operationPolicy`; string, required)
    - one of `"read_only"`, `"all"`
  - `authStatus` (`updateMyAssistantConnection.response.200.data.authStatus`; string, required)
    - one of `"connected"`, `"needs_reauth"`, `"missing_scopes"`, `"setup_incomplete"`, `"unknown"`
  - `authErrorCode` (`updateMyAssistantConnection.response.200.data.authErrorCode`; string | null, required)
  - `authErrorMessage` (`updateMyAssistantConnection.response.200.data.authErrorMessage`; string | null, required)
  - `authCheckedAt` (`updateMyAssistantConnection.response.200.data.authCheckedAt`; string | null, required)
  - `tokenExpiresAt` (`updateMyAssistantConnection.response.200.data.tokenExpiresAt`; string | null, required)
  - `verificationStatus` (`updateMyAssistantConnection.response.200.data.verificationStatus`; string, required)
    - one of `"ready"`, `"configured"`, `"needs_authorization"`, `"misconfigured"`, `"degraded"`, `"unknown"`
  - `verificationMessage` (`updateMyAssistantConnection.response.200.data.verificationMessage`; string | null, required)
  - `verificationCheckedAt` (`updateMyAssistantConnection.response.200.data.verificationCheckedAt`; string | null, required)
  - `installedActionId` (`updateMyAssistantConnection.response.200.data.installedActionId`; string | null, required) — The auto-provisioned `conn-<slug>` installed action, set only when the contract permits writes — that action is how a write reaches the approval gate.
  - `enabled` (`updateMyAssistantConnection.response.200.data.enabled`; boolean, required)
  - `createdBy` (`updateMyAssistantConnection.response.200.data.createdBy`; string, required)
  - `createdAt` (`updateMyAssistantConnection.response.200.data.createdAt`; string, required)
  - `updatedAt` (`updateMyAssistantConnection.response.200.data.updatedAt`; string, required)
  - `deletedAt` (`updateMyAssistantConnection.response.200.data.deletedAt`; string | null, required)
  - `contract` (`updateMyAssistantConnection.response.200.data.contract`; object, required) — What this connection can do, derived purely from its type and configuration. `permissions.write` is the whole gate: it is true only when the builder opted into writes, and it is what makes the connection appear as an approval-gated action instead of a read-only agent tool.
    - `schemaVersion` (`updateMyAssistantConnection.response.200.data.contract.schemaVersion`; number, required)
    - `connectionType` (`updateMyAssistantConnection.response.200.data.contract.connectionType`; string, required)
    - `driver` (`updateMyAssistantConnection.response.200.data.contract.driver`; string, required)
      - one of `"remote_mcp"`, `"authenticated_http"`, `"channel"`, `"configuration"`
    - `capabilities` (`updateMyAssistantConnection.response.200.data.contract.capabilities`; array<string>, required)
      - one of `"mcp_tools"`, `"typed_operations"`, `"authenticated_fetch"`, `"channel_send"`
    - `verification` (`updateMyAssistantConnection.response.200.data.contract.verification`; object, required)
      - `strategy` (`updateMyAssistantConnection.response.200.data.contract.verification.strategy`; string, required)
        - one of `"mcp_discovery"`, `"http_configuration"`, `"slack_auth"`, `"credential_configuration"`
      - `live` (`updateMyAssistantConnection.response.200.data.contract.verification.live`; boolean, required)
    - `permissions` (`updateMyAssistantConnection.response.200.data.contract.permissions`; object, required)
      - `read` (`updateMyAssistantConnection.response.200.data.contract.permissions.read`; boolean, required)
      - `write` (`updateMyAssistantConnection.response.200.data.contract.permissions.write`; boolean, required)
    - `provenance` (`updateMyAssistantConnection.response.200.data.contract.provenance`; string, required)
      - one of `"builtin"`, `"imported"`

### 400

Validation Error

#### Example

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

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

### 403

An active personal account is required.

### 404

The resource is unavailable to this user.


Source: https://docs.cloudraker.com/workspace/api/my-assistant/update-my-assistant-connection/index.md
