Skip to content

Update Project

PATCH
/api/projects/{project_id}
curl --request PATCH \
--url http://localhost:8000/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Content-Type: application/json' \
--cookie factory_session=<factory_session> \
--data '{ "name": "example", "description": "example" }'
project_id
required
Project Id
string format: uuid
Media typeapplication/json
UpdateProject
object
name
Any of:
string
>= 1 characters <= 100 characters
description
Any of:
string
<= 1000 characters

Example generated

{
"name": "example",
"description": "example"
}

Successful Response

Media typeapplication/json
Response Update Project Api Projects Project Id Patch
object
key
additional properties
any

Example generated

{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}