Documentation
Read or update your organization, and manage billing.
GET /v1/organization (scope: org:read)
bash
curl https://api.flagdeck.com/v1/organization \
-H "Authorization: Bearer YOUR_API_KEY"
PATCH /v1/organization (scope: org:write)
| Field | Type | Required |
|---|---|---|
name | string | no |
timezone | string | no |
GET /v1/billing (scope: billing:read)
Returns the current subscription and plan.
POST /v1/billing/cancel (scope: billing:write)
Schedules cancellation at the end of the current period. This is destructive; confirm before calling it.
POST /v1/billing/resume (scope: billing:write)
Undoes a scheduled cancellation.