Skip to main content
POST
/
api
/
projects
/
{id}
/
s3-location
Update project S3 location via API key
curl --request POST \
  --url https://api.leanmcp.com/api/projects/{id}/s3-location \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "s3Location": "s3://bucket/path/to/project.zip"
}
'
{}

Authorizations

Authorization
string
header
required

Enter your LeanMCP API key

Path Parameters

id
string
required

Project ID

Example:

"proj_123456789"

Body

application/json
s3Location
string
required

S3 location path

Example:

"s3://bucket/path/to/project.zip"

Response

Project S3 location updated successfully

The response is of type object.