Skip to content
Get started

Update project

projects.update(strid, ProjectUpdateParams**kwargs) -> ProjectUpdateResponse
PATCH/api/projects/{id}/

Update project

ParametersExpand Collapse
id: str
formatuuid
description: Optional[str]
is_active: Optional[bool]
name: Optional[str]
minLength1
maxLength255
settings: Optional[object]
slug: Optional[str]
minLength1
maxLength255
ReturnsExpand Collapse
class ProjectUpdateResponse:
id: str
formatuuid
created_at: datetime
formatdate-time
name: str
maxLength255
slug: str
maxLength255
updated_at: datetime
formatdate-time
description: Optional[str]
is_active: Optional[bool]
settings: Optional[object]
Update project
from overmind_lab import OvermindLab

client = OvermindLab()
project = client.projects.update(
    id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(project.id)
{
  "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
  "created_at": "2019-12-27T18:11:19.117Z",
  "name": "name",
  "slug": "slug",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "description": "description",
  "is_active": true,
  "settings": {}
}
Returns Examples
{
  "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
  "created_at": "2019-12-27T18:11:19.117Z",
  "name": "name",
  "slug": "slug",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "description": "description",
  "is_active": true,
  "settings": {}
}