Skip to main content
POST
/
console
/
v1
/
settings
/
project
Update Project Settings
curl --request POST \
  --url https://statsigapi.net/console/v1/settings/project \
  --header 'Content-Type: application/json' \
  --header 'STATSIG-API-KEY: <api-key>' \
  --data '{
  "name": "<string>",
  "visibility": "OPEN",
  "default_unit_type": "<string>"
}'
{
  "message": "Settings read successfully.",
  "data": {
    "name": "Test Project",
    "visibility": "closed",
    "default_unit_type": "stable_id"
  }
}

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Body

application/json
name
string
required

The name of the project.

visibility
enum<string>
required

The visibility type of the project.

Available options:
OPEN,
CLOSED,
EXTERNAL
default_unit_type
string

The default unit ID type of the project for newly created gates, experiments, and metrics. If not provided, there will be no default unit type.

Response

Update Project Settings Response

message
string
required

A simple string explaining the result of the operation.

data
object
required

A single result.

I