v77

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-045764591.5 MB
States

Get organization membership history

Read-only state history for organization memberships, scoped to the active organization (admin/owner only).

get/api/fsm/organizations/{org_id}/membership-history/

Path parameters

org_idinteger required

Query parameters

orderingstring

Which field to use when ordering the results.

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

sincestring date-time

Only include state rows recorded at or after this ISO 8601 timestamp.

source'api' | 'billing' | 'ldap' | 'manual' | 'saml' | 'scim'

Filter by role source (e.g. manual, saml, scim, ldap, api, billing).

untilstring date-time

Only include state rows recorded at or before this ISO 8601 timestamp.

user_idinteger

Filter the history to a single user.

user_type'flex' | 'service' | 'standard' | 'viewonly'

Filter by user type (e.g. standard, service, viewonly).

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}