GitHub · Capability

GitHub Projects API — Remove

GitHub Projects API — Remove. 3 operations. Lead operation: GitHub Remove Project from Team. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubRemove

What You Can Do

DELETE
Removeprojectfromteam — GitHub Remove Project from Team
/v1/orgs/{org}/teams/{team-slug}/projects/{project-id}
DELETE
Removeuserascollaborator — GitHub Remove User as Collaborator
/v1/projects/{project-id}/collaborators/{username}
DELETE
Removeprojectfromteamlegacy — GitHub Remove Project from Team (legacy)
/v1/teams/{team-id}/projects/{project-id}

MCP Tools

github-remove-project-team

GitHub Remove Project from Team

idempotent
github-remove-user-collaborator

GitHub Remove User as Collaborator

idempotent
github-remove-project-team-legacy

GitHub Remove Project from Team (legacy)

idempotent

Capability Spec

projects-remove.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Projects API — Remove
  description: 'GitHub Projects API — Remove. 3 operations. Lead operation: GitHub Remove Project from Team. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Remove
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: projects-remove
    baseUri: ''
    description: GitHub Projects API — Remove business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-teams-team_slug-projects-project_id
      path: /orgs/{org}/teams/{team_slug}/projects/{project_id}
      operations:
      - name: removeprojectfromteam
        method: DELETE
        description: GitHub Remove Project from Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-project_id-collaborators-username
      path: /projects/{project_id}/collaborators/{username}
      operations:
      - name: removeuserascollaborator
        method: DELETE
        description: GitHub Remove User as Collaborator
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: teams-team_id-projects-project_id
      path: /teams/{team_id}/projects/{project_id}
      operations:
      - name: removeprojectfromteamlegacy
        method: DELETE
        description: GitHub Remove Project from Team (legacy)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: projects-remove-rest
    port: 8080
    description: REST adapter for GitHub Projects API — Remove. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/orgs/{org}/teams/{team-slug}/projects/{project-id}
      name: orgs-org-teams-team-slug-projects-project-id
      description: REST surface for orgs-org-teams-team_slug-projects-project_id.
      operations:
      - method: DELETE
        name: removeprojectfromteam
        description: GitHub Remove Project from Team
        call: projects-remove.removeprojectfromteam
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{project-id}/collaborators/{username}
      name: projects-project-id-collaborators-username
      description: REST surface for projects-project_id-collaborators-username.
      operations:
      - method: DELETE
        name: removeuserascollaborator
        description: GitHub Remove User as Collaborator
        call: projects-remove.removeuserascollaborator
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/teams/{team-id}/projects/{project-id}
      name: teams-team-id-projects-project-id
      description: REST surface for teams-team_id-projects-project_id.
      operations:
      - method: DELETE
        name: removeprojectfromteamlegacy
        description: GitHub Remove Project from Team (legacy)
        call: projects-remove.removeprojectfromteamlegacy
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: projects-remove-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Projects API — Remove. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-remove-project-team
      description: GitHub Remove Project from Team
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: projects-remove.removeprojectfromteam
      outputParameters:
      - type: object
        mapping: $.
    - name: github-remove-user-collaborator
      description: GitHub Remove User as Collaborator
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: projects-remove.removeuserascollaborator
      outputParameters:
      - type: object
        mapping: $.
    - name: github-remove-project-team-legacy
      description: GitHub Remove Project from Team (legacy)
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: projects-remove.removeprojectfromteamlegacy
      outputParameters:
      - type: object
        mapping: $.