Skip to content
FeedbackDashboard

Update project

patch/v0/projects/{project}

Update a project's properties.

Path ParametersExpand Collapse
project: optional string
Body ParametersExpand Collapse
display_name: optional string
ReturnsExpand Collapse
Project = object { config_repo, display_name, object, 3 more }

A project is a collection of SDKs generated from the same set of config files.

config_repo: string
display_name: string
object: "project"
org: string
slug: string
targets: array of Target
Accepts one of the following:
"node"
"typescript"
"python"
"go"
"java"
"kotlin"
"ruby"
"terraform"
"cli"
"php"
"csharp"
Update project
curl https://api.stainless.com/v0/projects/$PROJECT \
    -X PATCH \
    -H "Authorization: Bearer $STAINLESS_API_KEY"
{
  "config_repo": "config_repo",
  "display_name": "display_name",
  "object": "project",
  "org": "org",
  "slug": "slug",
  "targets": [
    "node"
  ]
}
Returns Examples
{
  "config_repo": "config_repo",
  "display_name": "display_name",
  "object": "project",
  "org": "org",
  "slug": "slug",
  "targets": [
    "node"
  ]
}