Skip to content
FeedbackDashboard

Update project

Project Projects.Update(ProjectUpdateParamsparameters, CancellationTokencancellationToken = default)
PATCH/v0/projects/{project}

Update a project's properties.

ParametersExpand Collapse
ProjectUpdateParams parameters
required string project

Path param

string? displayName

Body param

ReturnsExpand Collapse
class Project:

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

required string ConfigRepo
required string? DisplayName
required Object Object
required string Org
required string Slug
required IReadOnlyList<Target> Targets
Accepts one of the following:
"node"Node
"typescript"Typescript
"python"Python
"go"Go
"java"Java
"kotlin"Kotlin
"ruby"Ruby
"terraform"Terraform
"cli"Cli
"php"Php
"csharp"Csharp
"sql"Sql
"openapi"OpenAPI

Update project

ProjectUpdateParams parameters = new() { Project = "project" };

var project = await client.Projects.Update(parameters);

Console.WriteLine(project);
{
  "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"
  ]
}