Skip to main content
PATCH
/
api
/
projects
/
{id}
Update project via API key
curl --request PATCH \
  --url https://api.leanmcp.com/api/projects/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "repositoryUrl": "<string>",
  "framework": "<string>",
  "status": "active",
  "s3Location": "<string>",
  "templateId": "03b3640c-9e47-4750-be37-2988b742b687"
}
'
{}

Authorizations

Authorization
string
header
required

Enter your LeanMCP API key

Path Parameters

id
string
required

Project ID

Example:

"proj_123456789"

Body

application/json
name
string

Project name

description
string

Project description

repositoryUrl
string

Repository URL

framework
string

Framework

status
enum<string>

Project status

Available options:
active,
archived,
deleted
s3Location
string

S3 location

templateId
string

Template ID used to create this project

Example:

"03b3640c-9e47-4750-be37-2988b742b687"

Response

Project updated successfully

The response is of type object.