All URIs are relative to /api/v2
Method | HTTP request | Description |
---|---|---|
deleteProject | DELETE /projects/{projectKey} | Delete a project by key. Caution-- deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account. |
getProject | GET /projects/{projectKey} | Fetch a single project by key. |
getProjects | GET /projects | Returns a list of all projects in the account. |
patchProject | PATCH /projects/{projectKey} | Modify a project by ID. |
postProject | POST /projects | Create a new project with the given key and name. |
Delete a project by key. Caution-- deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account.
deleteProject projectKey=value
Name | Type | Description | Notes |
---|---|---|---|
projectKey | string | The project key, used to tie the flags together under one project so they can be managed together. |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Fetch a single project by key.
getProject projectKey=value
Name | Type | Description | Notes |
---|---|---|---|
projectKey | string | The project key, used to tie the flags together under one project so they can be managed together. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Returns a list of all projects in the account.
getProjects
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Modify a project by ID.
patchProject projectKey=value
Name | Type | Description | Notes |
---|---|---|---|
projectKey | string | The project key, used to tie the flags together under one project so they can be managed together. | |
patchDelta | array[PatchOperation] | Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Create a new project with the given key and name.
postProject
Name | Type | Description | Notes |
---|---|---|---|
projectBody | ProjectBody | Project keys must be unique within an account. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]