GrowthBook · Capability

GrowthBook REST API — members

GrowthBook REST API — members. 3 operations. Lead operation: Get all organization members. Self-contained Naftiko capability covering one Growthbook business surface.

Run with Naftiko Growthbookmembers

What You Can Do

GET
Listmembers — Get all organization members
/v1/v1/members
DELETE
Deletemember — Removes a single user from an organization
/v1/v1/members/{id}
POST
Updatememberrole — Update a member's global role (including any enviroment restrictions, if applicable). Can also update a member's project roles if your plan supports it.
/v1/v1/members/{id}/role

MCP Tools

get-all-organization-members

Get all organization members

read-only idempotent
removes-single-user-organization

Removes a single user from an organization

idempotent
update-member-s-global-role-including

Update a member's global role (including any enviroment restrictions, if applicable). Can also update a member's project roles if your plan supports it.

Capability Spec

growthbook-members.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GrowthBook REST API — members
  description: 'GrowthBook REST API — members. 3 operations. Lead operation: Get all organization members. Self-contained
    Naftiko capability covering one Growthbook business surface.'
  tags:
  - Growthbook
  - members
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GROWTHBOOK_API_KEY: GROWTHBOOK_API_KEY
capability:
  consumes:
  - type: http
    namespace: growthbook-members
    baseUri: https://api.growthbook.io/api
    description: GrowthBook REST API — members business capability. Self-contained, no shared references.
    resources:
    - name: v1-members
      path: /v1/members
      operations:
      - name: listmembers
        method: GET
        description: Get all organization members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-members-id
      path: /v1/members/{id}
      operations:
      - name: deletemember
        method: DELETE
        description: Removes a single user from an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-members-id-role
      path: /v1/members/{id}/role
      operations:
      - name: updatememberrole
        method: POST
        description: Update a member's global role (including any enviroment restrictions, if applicable). Can also update
          a member's project roles if your plan supports it.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GROWTHBOOK_API_KEY}}'
  exposes:
  - type: rest
    namespace: growthbook-members-rest
    port: 8080
    description: REST adapter for GrowthBook REST API — members. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/members
      name: v1-members
      description: REST surface for v1-members.
      operations:
      - method: GET
        name: listmembers
        description: Get all organization members
        call: growthbook-members.listmembers
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/members/{id}
      name: v1-members-id
      description: REST surface for v1-members-id.
      operations:
      - method: DELETE
        name: deletemember
        description: Removes a single user from an organization
        call: growthbook-members.deletemember
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/members/{id}/role
      name: v1-members-id-role
      description: REST surface for v1-members-id-role.
      operations:
      - method: POST
        name: updatememberrole
        description: Update a member's global role (including any enviroment restrictions, if applicable). Can also update
          a member's project roles if your plan supports it.
        call: growthbook-members.updatememberrole
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: growthbook-members-mcp
    port: 9090
    transport: http
    description: MCP adapter for GrowthBook REST API — members. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-all-organization-members
      description: Get all organization members
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: growthbook-members.listmembers
      outputParameters:
      - type: object
        mapping: $.
    - name: removes-single-user-organization
      description: Removes a single user from an organization
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: growthbook-members.deletemember
      outputParameters:
      - type: object
        mapping: $.
    - name: update-member-s-global-role-including
      description: Update a member's global role (including any enviroment restrictions, if applicable). Can also update a
        member's project roles if your plan supports it.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: growthbook-members.updatememberrole
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.