Skip to main content
PUT
/
api
/
v2
/
projects
/
{project_id}
Update Projects
curl --request PUT \
  --url https://api.example.com/api/v2/projects/{project_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "is_private": true,
  "freeplay_spend_limit_usd": 123,
  "data_retention_days": 123
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "is_private": true,
  "freeplay_spend_limit_usd": 123,
  "data_retention_days": 123
}

Path Parameters

project_id
string
required

Body

application/json
name
string | null
is_private
boolean | null
freeplay_spend_limit_usd
integer | null
data_retention_days
integer | null

Response

200 - application/json

ProjectDetail(id: uuid.UUID, name: str, is_private: bool, freeplay_spend_limit_usd: Optional[int], data_retention_days: Optional[int])

id
string<uuid>
required
name
string
required
is_private
boolean
required
freeplay_spend_limit_usd
integer | null
required
data_retention_days
integer | null
required