Create project

POST
/api/v2/projects

Create a new project with the given key and name. Project keys must be unique within an account.

Request

This endpoint expects an object.
namestringRequired

A human-friendly name for the project.

keystringRequired

A unique key used to reference the project in your code.

includeInSnippetByDefaultbooleanOptional

Whether or not flags created in this project are made available to the client-side JavaScript SDK by default.

defaultClientSideAvailabilityobjectOptional

Controls which client-side SDKs can use new flags by default.

tagslist of stringsOptional

Tags for the project

environmentslist of objectsOptional

Creates the provided environments for this project. If omitted default environments will be created instead.

namingConventionobjectOptional

The flag key convention for this project

Response

Project response

_idstring

The ID of this project

keystring

The key of this project

includeInSnippetByDefaultboolean

Whether or not flags created in this project are made available to the client-side JavaScript SDK by default

namestring

A human-friendly name for the project

tagslist of strings

A list of tags for the project

environmentslist of objects

A list of environments for the project

defaultClientSideAvailabilityobjectOptional

Describes which client-side SDKs can use new flags by default

_accessobjectOptional

Details on the allowed and denied actions for this project

defaultReleasePipelineKeystringOptional

The key of the default release pipeline for this project

Errors

Built with