cURL
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" } }
The name of the project.
The visibility type of the project.
OPEN
CLOSED
EXTERNAL
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.
Update Project Settings Response
A simple string explaining the result of the operation.
A single result.
Show child attributes
Was this page helpful?