Fianu Labs Teams API

Manage asset-level team membership. List the principals (users and sub-teams) associated with a team and remove members. Membership grants propagate to downstream entities and assets.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /assets/teams/{team_uuid}/members List Team Members #
DELETE /assets/teams/{team_uuid}/members/{principal_uuid} Remove Team Member #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fianu-labs:fianu-labs-teams-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fianu-labs-teams-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Fianu Labs offers powerful APIs that simplify and automate governance processes.


    With our flexible and customizable APIs, you can easily create, manage, and monitor governance policies, access real-time data and analytics, and automate repetitive tasks.


    Let us help you streamline your governance processes and achieve your business objectives.'
  title: Fianu Teams API
  contact:
    name: Fianu Labs
    url: https://fianu.io
    email: support@fianu.io
  version: 1.0.0
servers:
- url: https://app.fianu.io/api
security:
- BearerToken: []
tags:
- description: 'Manage asset-level team membership. List the principals (users and

    sub-teams) associated with a team and remove members. Membership

    grants propagate to downstream entities and assets.'
  name: Teams
  x-displayName: Asset Teams
paths:
  /assets/teams/{team_uuid}/members:
    get:
      description: 'Returns every principal associated with a team — the UNION of its

        owners and members — each tagged with the role(s) it holds. A

        principal can be a user or a sub-team; `roles` is a subset of

        ["owner","member"] (owner first). Owners are sourced from the

        team''s `owners` property and members from its `members` property,

        so an owner who is not a direct member still appears (roles

        ["owner"]). Transitive membership (members of sub-teams) is NOT

        expanded here. Returns an empty list (not 404) when the team has

        no owners or members.'
      tags:
      - Teams
      summary: List Team Members
      operationId: list_team_members
      parameters:
      - description: Team asset UUID
        name: team_uuid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: 'Array of team principals. Each row contains `uuid`, `type`

            ("user" or "team"), `name`, `identifier`, and `roles`

            (e.g. ["owner","member"]). Empty array if the team has no

            owners or members.

            '
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/teamMemberRow'
  /assets/teams/{team_uuid}/members/{principal_uuid}:
    delete:
      description: 'Removes a user or sub-team from a team. Idempotent — clears the

        asset_edges membership row AND the OpenFGA membership tuple,

        regardless of whether either was actually present.


        The server resolves `principal_uuid` to determine whether it is

        a user-shape (assets_user.uuid) or team-shape principal so the

        correct FGA tuple shape (`user:` vs `team:#member`)

        is cleared. The principal must resolve to an asset of type

        `user` or `team` — anything else returns 400.'
      tags:
      - Teams
      summary: Remove Team Member
      operationId: remove_team_member
      parameters:
      - description: Team asset UUID
        name: team_uuid
        in: path
        required: true
        schema:
          type: string
      - description: Asset UUID of the user or sub-team to remove
        name: principal_uuid
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Removed (or was not present — idempotent)
        '400':
          description: principal_uuid resolves to an asset that is neither user nor team (F_74003)
        '404':
          description: principal_uuid does not resolve to any asset row (F_74002)
components:
  schemas:
    teamMemberRow:
      description: 'Roles holds the relationship(s) the principal has to the team ("owner",

        "member"; owner first) for the public listing (SelectTeamMembers, sourced

        from the team''s owners/members properties). The low-level edge reader

        (SelectMembershipEdges) leaves Roles empty — its Read sets Lax so the

        absent column is tolerated.


        The "joined at" timestamp lives in the audit log (asset_edges has no

        created_at column today); callers that need a timeline join through

        audit_log entries for the corresponding edge.'
      type: object
      title: 'TeamMemberRow is one principal associated with a team — a direct member,

        an owner, or both — joined to the principal''s asset row so the caller sees

        type/name/identifier without a second round-trip.'
      properties:
        avatarUrl:
          $ref: '#/components/schemas/NullString'
        firstName:
          $ref: '#/components/schemas/NullString'
        identifier:
          $ref: '#/components/schemas/NullString'
        lastName:
          $ref: '#/components/schemas/NullString'
        name:
          $ref: '#/components/schemas/NullString'
        roles:
          type: array
          items:
            type: string
          x-go-name: Roles
        type:
          $ref: '#/components/schemas/NullString'
        uuid:
          $ref: '#/components/schemas/NullString'
      x-go-name: TeamMemberRow
      x-go-package: github.com/fianulabs/core/v2/external/db/teams
    NullString:
      type: object
      description: (recursive reference to NullString)
  securitySchemes:
    BearerToken:
      description: JWT Bearer Token Auth
      type: apiKey
      name: Authentication
      in: header
externalDocs:
  description: Fianu Labs Documentation
  url: https://docs.fianu.io
x-tagGroups:
- name: Authentication
  tags:
  - access_tokens
- name: Console
  tags:
  - collections
  - controls
  - domains
  - policies
  - environments
  - targets
  - gates
  - indexes
- description: 'Every event that occurs throughout the software development lifecycle produces evidence. A Note represents a single piece of evidence. There are four types of Notes: Origin, Occurrence, Transaction, and Attestation. Each type varies in its traits and utility, but all Notes are digitally signed and stored in an immutable ledger where they can be queried on demand. If a query returns a Note that does not match its signature, it is considered untrusted and its evidence invalid. The following routes allow you to retrieve/display evidence Notes.'
  name: Evidence
  tags:
  - evaluation
  - ledger
  - signatures
  - evidence
  - deployments
  - notes
  - events
  - metrics
- name: Gating
  tags:
  - gating_check
  - gating_enforce
- description: Integrations represent third-party tools and platforms that generate evidence for attestations. Integrations are designed to manage the third-party’s toolchain relationship with Fianu.
  name: Integrations
  tags:
  - platforms
  - plugins
  - instances
  - platform_types
  - tools
- name: Assets
  tags:
  - assets
  - accounts
  - modules
  - abstract_assets
- name: Inventory
  tags:
  - statistics
  - sources
- description: Notification catalog, effective configuration, delivery channel integrations, and the user inbox.
  name: Notifications
  tags:
  - notifications
- description: Team management, approval workflows, and account-level administration.
  name: Administration
  tags:
  - team
  - teams
  - users
  - tickets
- name: Server
  tags:
  - settings