SmartMemory
PATCH
/memory/teams/{team_id}

Update team details (partial merge). Requires team admin or tenant admin.

Authorization

AuthorizationBearer <token>

Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).

In: header

Path Parameters

team_id*Team Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/memory/teams/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "team_id": "string",
  "name": "string",
  "description": "string",
  "data_classification": "string",
  "cost_center": "string",
  "member_count": 0,
  "created_at": "2019-08-24T14:15:22Z",
  "is_system": false,
  "is_default": false,
  "user_role": "string",
  "read_only": false
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}