Update Project Settings

Update Project Settings

posthttps://statsigapi.net/console/v1/settings/project

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Body

application/json
namestringrequired

The name of the project.

visibilitystringrequired

The visibility type of the project.

Allowed values:OPENCLOSEDEXTERNAL
default_unit_typestring

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

application/json
200· Update Project Settings Response
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
namestringrequired

The name of the project.

visibilitystringrequired

The visibility type of the project.

Allowed values:OPENCLOSEDEXTERNAL
default_unit_typestring

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.

400· Invalid request. Please check the request input and try again.
statusintegerrequired
Allowed values:400
messagestringrequired
401· This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequired
Allowed values:401
messagestringrequired

Was this helpful?