Skip to main content

Update project enterprise settings

PUT 

/api/admin/projects/:projectId/settings

Update project enterprise settings with new values. Any fields not provided are ignored.

Request

Path Parameters

    projectId stringrequired

Body

required

updateProjectEnterpriseSettingsSchema

    mode string

    A mode of the project affecting what actions are possible in this project

    Possible values: [open, protected, private]

    Example: open

    featureNaming

    object

    Create a feature naming pattern

    pattern stringnullablerequired

    A JavaScript regular expression pattern, without the start and end delimiters. Optional flags are not allowed.

    Example: ^[A-Za-z]+\.[A-Za-z]+\.[A-Za-z0-9-]+$
    example stringnullable

    An example of a feature name that matches the pattern. Must itself match the pattern supplied.

    Example: dx.feature1.1-135
    description stringnullable

    A description of the pattern in a human-readable format. Will be shown to users when they create a new feature flag.

    Example: <project>.<featureName>.<ticket> The flag name should contain the project name, the feature name, and the ticket number, each separated by a dot.

Responses

This response has no body.

Loading...