v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Projects

Update project enterprise settings

Enterprise feature

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

put/api/admin/projects/{projectId}/settings

Path parameters

projectIdstring required

Request body

mode'open' | 'protected' | 'private'

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

Example request

{
  "mode": "open",
  "featureNaming": {
    "pattern": "^[A-Za-z]+\\.[A-Za-z]+\\.[A-Za-z0-9-]+$",
    "example": "dx.feature.1-135",
    "description": "<project>.<featureName>.<ticket>\n\nThe flag name should contain the project name, the feature name, and the ticket number, each separated by a dot."
  },
  "linkTemplates": [
    {
      "title": "Code search",
      "urlTemplate": "https://github.com/search?type=code&q=repo%3AUnleash%2F{{project}}+{{feature}}"
    }
  ]
}

Response

This response has no body.