Skip to main content
PUT
/
projects
/
{id}
cURL
curl --request PUT \
  --url http://localhost:3000/projects/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "projectKey": "<string>"
}
'
{
  "statusCode": 123,
  "message": "OK",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "flags_count": 0,
    "environments": [],
    "projectKey": "<string>",
    "description": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
description
string
projectKey
string

A unique key for the project used in SDK configurations.

Required string length: 8 - 64

Response

Default Response

statusCode
number
message
string
default:OK
data
object