FeatureToggles

Creates a feature toggle within a project

post/{spaceId}/projects/{projectId}/featuretoggles

Path parameters

spaceIdstring required
projectIdstring required

Request body

Descriptionstring
Namestring required
ProjectIdstring required
RolloutGroupIdstring
SpaceIdstring required
Tagsstring[]

Example request

{
  "Environments": [
    {
      "DeploymentEnvironmentId": "Environments-1",
      "ExcludedTenantIds": [
        "Tenants-1",
        "..."
      ],
      "TenantIds": [
        "Tenants-1",
        "..."
      ]
    }
  ],
  "ProjectId": "Projects-1",
  "SpaceId": "Spaces-1"
}

Response

Created

DefaultIsEnabledboolean required
Descriptionstring
Idstring required
Namestring required
ProjectIdstring required
RolloutGroupIdstring
Slugstring required
SpaceIdstring required
Tagsstring[] required

Example response

{
  "Environments": [
    {
      "DeploymentEnvironmentId": "Environments-1",
      "ExcludedTenantIds": [
        "Tenants-1",
        "..."
      ],
      "TenantIds": [
        "Tenants-1",
        "..."
      ]
    }
  ],
  "ProjectId": "Projects-1",
  "SpaceId": "Spaces-1"
}

Changes

No recorded changes to this endpoint across all 7 revisions of this API.