Unleash

Unleash

  • Documentation
  • Deploy and manage
  • Integrations
  • Contribute
  • API
  • Enterprise
  • Help

›Admin

Client

  • /api/client/features
  • /api/client/register
  • /api/client/metrics

Admin

  • /api/admin/features
  • /api/admin/strategies
  • /api/admin/metrics
  • /api/admin/events
  • /api/admin/state
  • /api/admin/feature-types
  • /api/admin/addons
  • /api/admin/context
  • /api/admin/projects

Internal

  • /internal-backstage/prometheus
  • /health

Specification

  • Open API Specification

/api/admin/projects

The projects feature is only available as part of Unleash Enterprise. In order to access the API programmatically you need to make sure you obtain a API token with admin permissions.

List projects in Unleash

GET https://unleash.host.com/api/admin/projects

Returns a list of projects in Unleash.

Example response:

{
  "version": 1,
  "projects": [
    {
      "id": "default",
      "name": "Default",
      "description": "Default project",
      "createdAt": "2020-12-03T09:47:20.170Z"
    },
    {
      "id": "MyNewProject",
      "name": "MyNewProject",
      "description": "A test project",
      "createdAt": "2020-12-03T09:47:20.170Z"
    },
    {
      "id": "test",
      "name": "Test Project",
      "description": "Collection of test toggles",
      "createdAt": "2020-12-03T09:47:20.170Z"
    }
  ]
}

Create a new project

POST https://unleash.host.com/api/admin/projects

Creates a new project.

Body

{
  "id": "someId",
  "name": "Test Project",
  "description": "Some description"
}

Update a projects field

PUT https://unleash.host.com/api/projects/:id

Updates a project with id=id.

Body

{
  "id": "someId",
  "name": "Test Project",
  "description": "Some description"
}

Delete a projects field

DELETE https://unleash.host.com/api/admin/projects/:id

Deletes the project with id=id.

← /api/admin/context/internal-backstage/prometheus →
Unleash
Docs
Getting StartedSecuring UnleashAPI Reference
Community
User ShowcaseSlack communityUnleash-hosted.comTwitter
More
GitHubStar