FlagdeckFlagdeck
Pricing
Docs
Get Started

Documentation

Organization

Read or update your organization, and manage billing.

Get the organization

GET /v1/organization (scope: org:read)

bash

curl https://api.flagdeck.com/v1/organization \
  -H "Authorization: Bearer YOUR_API_KEY"

Update the organization

PATCH /v1/organization (scope: org:write)

FieldTypeRequired
namestringno
timezonestringno

Get billing

GET /v1/billing (scope: billing:read)

Returns the current subscription and plan.

Cancel the subscription

POST /v1/billing/cancel (scope: billing:write)

Schedules cancellation at the end of the current period. This is destructive; confirm before calling it.

Resume the subscription

POST /v1/billing/resume (scope: billing:write)

Undoes a scheduled cancellation.