Skip to main content

Feature Flag

Base path: /api/data/feature-flag

All feature flag CRUD endpoints are registered but not yet implemented — handlers are empty stubs.

POST /api/data/feature-flag​

Create a new feature flag.

Auth: Session cookie required Tenant: Scoped via x-tenant-id header

Not yet implemented — returns no response.

Feature Flag Schema Reference​

FieldTypeRequiredDescription
keystringYesUnique flag key
scopeenumYessystem or tenant
tenantIdstringNoTenant ID (required when scope is tenant)
enabledbooleanYesWhether the flag is enabled
payloadobjectNoArbitrary payload data
createdAtdateYesCreation timestamp
updatedAtdateYesLast update timestamp

GET /api/data/feature-flag/:id​

Retrieve a feature flag by ID.

Auth: Session cookie required Tenant: Scoped via x-tenant-id header

Not yet implemented — returns no response.


PATCH /api/data/feature-flag/:id​

Update a feature flag by ID.

Auth: Session cookie required Tenant: Scoped via x-tenant-id header

Not yet implemented — returns no response.


DELETE /api/data/feature-flag/:id​

Delete a feature flag by ID.

Auth: Session cookie required Tenant: Scoped via x-tenant-id header

Not yet implemented — returns no response.