Sentry · Capability

Sentry Teams API — Members

Sentry Teams API — Members. 5 operations. Lead operation: Sentry Add an organization member to a team. Self-contained Naftiko capability covering one Sentry System business surface.

Run with Naftiko Sentry SystemMembers

What You Can Do

POST
Addmembertoteam — Sentry Add an organization member to a team
/v1/organizations/{organization-id-or-slug}/members/{member-id}/teams/{team-id-or-slug}
DELETE
Removememberfromteam — Sentry Delete an organization member from a team
/v1/organizations/{organization-id-or-slug}/members/{member-id}/teams/{team-id-or-slug}
PUT
Updatememberteamrole — Sentry Update an organization member's team role
/v1/organizations/{organization-id-or-slug}/members/{member-id}/teams/{team-id-or-slug}
GET
Listuserteams — Sentry List a user's teams for an organization
/v1/organizations/{organization-id-or-slug}/users/{user-id}/teams
GET
Listteammembers — Sentry List a team's members
/v1/teams/{organization-id-or-slug}/{team-id-or-slug}/members

MCP Tools

sentry-add-organization-member-team

Sentry Add an organization member to a team

sentry-delete-organization-member-team

Sentry Delete an organization member from a team

idempotent
sentry-update-organization-member-s-team

Sentry Update an organization member's team role

idempotent
sentry-list-user-s-teams-organization

Sentry List a user's teams for an organization

read-only idempotent
sentry-list-team-s-members

Sentry List a team's members

read-only idempotent

Capability Spec

sentry-teams-members.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sentry Teams API — Members
  description: 'Sentry Teams API — Members. 5 operations. Lead operation: Sentry Add an organization member to a team. Self-contained
    Naftiko capability covering one Sentry System business surface.'
  tags:
  - Sentry System
  - Members
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SENTRY_SYSTEM_API_KEY: SENTRY_SYSTEM_API_KEY
capability:
  consumes:
  - type: http
    namespace: sentry-teams-members
    baseUri: https://sentry.io/api/0
    description: Sentry Teams API — Members business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organization_id_or_slug-members-member_id-teams-team_id_or_slug
      path: /organizations/{organization_id_or_slug}/members/{member_id}/teams/{team_id_or_slug}/
      operations:
      - name: addmembertoteam
        method: POST
        description: Sentry Add an organization member to a team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: removememberfromteam
        method: DELETE
        description: Sentry Delete an organization member from a team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatememberteamrole
        method: PUT
        description: Sentry Update an organization member's team role
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organizations-organization_id_or_slug-users-user_id-teams
      path: /organizations/{organization_id_or_slug}/users/{user_id}/teams/
      operations:
      - name: listuserteams
        method: GET
        description: Sentry List a user's teams for an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: user_id
          in: path
          type: string
          description: The ID of the user.
          required: true
    - name: teams-organization_id_or_slug-team_id_or_slug-members
      path: /teams/{organization_id_or_slug}/{team_id_or_slug}/members/
      operations:
      - name: listteammembers
        method: GET
        description: Sentry List a team's members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cursor
          in: query
          type: string
          description: Pagination cursor.
    authentication:
      type: bearer
      token: '{{env.SENTRY_SYSTEM_API_KEY}}'
  exposes:
  - type: rest
    namespace: sentry-teams-members-rest
    port: 8080
    description: REST adapter for Sentry Teams API — Members. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/organizations/{organization-id-or-slug}/members/{member-id}/teams/{team-id-or-slug}
      name: organizations-organization-id-or-slug-members-member-id-teams-team-id-or-slug
      description: REST surface for organizations-organization_id_or_slug-members-member_id-teams-team_id_or_slug.
      operations:
      - method: POST
        name: addmembertoteam
        description: Sentry Add an organization member to a team
        call: sentry-teams-members.addmembertoteam
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removememberfromteam
        description: Sentry Delete an organization member from a team
        call: sentry-teams-members.removememberfromteam
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatememberteamrole
        description: Sentry Update an organization member's team role
        call: sentry-teams-members.updatememberteamrole
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organization-id-or-slug}/users/{user-id}/teams
      name: organizations-organization-id-or-slug-users-user-id-teams
      description: REST surface for organizations-organization_id_or_slug-users-user_id-teams.
      operations:
      - method: GET
        name: listuserteams
        description: Sentry List a user's teams for an organization
        call: sentry-teams-members.listuserteams
        with:
          user_id: rest.user_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/teams/{organization-id-or-slug}/{team-id-or-slug}/members
      name: teams-organization-id-or-slug-team-id-or-slug-members
      description: REST surface for teams-organization_id_or_slug-team_id_or_slug-members.
      operations:
      - method: GET
        name: listteammembers
        description: Sentry List a team's members
        call: sentry-teams-members.listteammembers
        with:
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sentry-teams-members-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sentry Teams API — Members. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: sentry-add-organization-member-team
      description: Sentry Add an organization member to a team
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sentry-teams-members.addmembertoteam
      outputParameters:
      - type: object
        mapping: $.
    - name: sentry-delete-organization-member-team
      description: Sentry Delete an organization member from a team
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: sentry-teams-members.removememberfromteam
      outputParameters:
      - type: object
        mapping: $.
    - name: sentry-update-organization-member-s-team
      description: Sentry Update an organization member's team role
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sentry-teams-members.updatememberteamrole
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: sentry-list-user-s-teams-organization
      description: Sentry List a user's teams for an organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sentry-teams-members.listuserteams
      with:
        user_id: tools.user_id
      outputParameters:
      - type: object
        mapping: $.
    - name: sentry-list-team-s-members
      description: Sentry List a team's members
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sentry-teams-members.listteammembers
      with:
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.