Documentation
All endpoints require the projects:read or projects:write scope.
GET /v1/projects (scope: projects:read)
bash
curl https://api.flagdeck.com/v1/projects \
-H "Authorization: Bearer YOUR_API_KEY"
GET /v1/projects/{projectId} (scope: projects:read)
POST /v1/projects (scope: projects:write)
| Field | Type | Required |
|---|---|---|
name | string (3–50 chars) | yes |
description | string | no |
allowedOrigins | string[] | no |
bash
curl -X POST https://api.flagdeck.com/v1/projects \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "Mobile App" }'
New projects are seeded with a Development and a Production environment.
PATCH /v1/projects/{projectId} (scope: projects:write)
DELETE /v1/projects/{projectId} (scope: projects:write)