Atlassian · Capability

Atlassian Bit Bucket Workspaces API — Users

Atlassian Bit Bucket Workspaces API — Users. 9 operations. Lead operation: Atlassian List Users in a Workspace. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianUsers

What You Can Do

GET
Atlassianlistusersinaworkspace — Atlassian List Users in a Workspace
/v1/workspaces/{workspace}/members
GET
Atlassiangetusermembershipforaworkspace — Atlassian Get User Membership for a Workspace
/v1/workspaces/{workspace}/members/{member}
GET
Atlassianlistuserpermissionsinaworkspace — Atlassian List User Permissions in a Workspace
/v1/workspaces/{workspace}/permissions
DELETE
Atlassianremovethespecificuserfromtheprojectsdefaultreviewers — Atlassian Remove the Specific User From the Project S Default Reviewers
/v1/workspaces/{workspace}/projects/{project-key}/default-reviewers/{selected-user}
PUT
Atlassianaddthespecificuserasadefaultreviewerfortheproject — Atlassian Add the Specific User as a Default Reviewer for the Project
/v1/workspaces/{workspace}/projects/{project-key}/default-reviewers/{selected-user}
GET
Atlassianlistexplicituserpermissionsforaproject — Atlassian List Explicit User Permissions for a Project
/v1/workspaces/{workspace}/projects/{project-key}/permissions-config/users
DELETE
Atlassiandeleteanexplicituserpermissionforaproject — Atlassian Delete an Explicit User Permission for a Project
/v1/workspaces/{workspace}/projects/{project-key}/permissions-config/users/{selected-user-id}
GET
Atlassiangetanexplicituserpermissionforaproject — Atlassian Get an Explicit User Permission for a Project
/v1/workspaces/{workspace}/projects/{project-key}/permissions-config/users/{selected-user-id}
PUT
Atlassianupdateanexplicituserpermissionforaproject — Atlassian Update an Explicit User Permission for a Project
/v1/workspaces/{workspace}/projects/{project-key}/permissions-config/users/{selected-user-id}

MCP Tools

atlassian-list-users-workspace

Atlassian List Users in a Workspace

read-only idempotent
atlassian-get-user-membership-workspace

Atlassian Get User Membership for a Workspace

read-only idempotent
atlassian-list-user-permissions-workspace

Atlassian List User Permissions in a Workspace

read-only idempotent
atlassian-remove-specific-user-project

Atlassian Remove the Specific User From the Project S Default Reviewers

idempotent
atlassian-add-specific-user-default

Atlassian Add the Specific User as a Default Reviewer for the Project

idempotent
atlassian-list-explicit-user-permissions

Atlassian List Explicit User Permissions for a Project

read-only idempotent
atlassian-delete-explicit-user-permission

Atlassian Delete an Explicit User Permission for a Project

idempotent
atlassian-get-explicit-user-permission

Atlassian Get an Explicit User Permission for a Project

read-only idempotent
atlassian-update-explicit-user-permission

Atlassian Update an Explicit User Permission for a Project

idempotent

Capability Spec

bitbucket-workspaces-users.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Workspaces API — Users
  description: 'Atlassian Bit Bucket Workspaces API — Users. 9 operations. Lead operation: Atlassian List Users in a Workspace.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Users
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-workspaces-users
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Workspaces API — Users business capability. Self-contained, no shared references.
    resources:
    - name: workspaces-workspace-members
      path: /workspaces/{workspace}/members
      operations:
      - name: atlassianlistusersinaworkspace
        method: GET
        description: Atlassian List Users in a Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-workspace-members-member
      path: /workspaces/{workspace}/members/{member}
      operations:
      - name: atlassiangetusermembershipforaworkspace
        method: GET
        description: Atlassian Get User Membership for a Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-workspace-permissions
      path: /workspaces/{workspace}/permissions
      operations:
      - name: atlassianlistuserpermissionsinaworkspace
        method: GET
        description: Atlassian List User Permissions in a Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: Query string to narrow down the response as per
    - name: workspaces-workspace-projects-project_key-default-reviewers-selected_user
      path: /workspaces/{workspace}/projects/{project_key}/default-reviewers/{selected_user}
      operations:
      - name: atlassianremovethespecificuserfromtheprojectsdefaultreviewers
        method: DELETE
        description: Atlassian Remove the Specific User From the Project S Default Reviewers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassianaddthespecificuserasadefaultreviewerfortheproject
        method: PUT
        description: Atlassian Add the Specific User as a Default Reviewer for the Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-workspace-projects-project_key-permissions-config-users
      path: /workspaces/{workspace}/projects/{project_key}/permissions-config/users
      operations:
      - name: atlassianlistexplicituserpermissionsforaproject
        method: GET
        description: Atlassian List Explicit User Permissions for a Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-workspace-projects-project_key-permissions-config-users-selected_user
      path: /workspaces/{workspace}/projects/{project_key}/permissions-config/users/{selected_user_id}
      operations:
      - name: atlassiandeleteanexplicituserpermissionforaproject
        method: DELETE
        description: Atlassian Delete an Explicit User Permission for a Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassiangetanexplicituserpermissionforaproject
        method: GET
        description: Atlassian Get an Explicit User Permission for a Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassianupdateanexplicituserpermissionforaproject
        method: PUT
        description: Atlassian Update an Explicit User Permission for a Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: bitbucket-workspaces-users-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Workspaces API — Users. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/workspaces/{workspace}/members
      name: workspaces-workspace-members
      description: REST surface for workspaces-workspace-members.
      operations:
      - method: GET
        name: atlassianlistusersinaworkspace
        description: Atlassian List Users in a Workspace
        call: bitbucket-workspaces-users.atlassianlistusersinaworkspace
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace}/members/{member}
      name: workspaces-workspace-members-member
      description: REST surface for workspaces-workspace-members-member.
      operations:
      - method: GET
        name: atlassiangetusermembershipforaworkspace
        description: Atlassian Get User Membership for a Workspace
        call: bitbucket-workspaces-users.atlassiangetusermembershipforaworkspace
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace}/permissions
      name: workspaces-workspace-permissions
      description: REST surface for workspaces-workspace-permissions.
      operations:
      - method: GET
        name: atlassianlistuserpermissionsinaworkspace
        description: Atlassian List User Permissions in a Workspace
        call: bitbucket-workspaces-users.atlassianlistuserpermissionsinaworkspace
        with:
          q: rest.q
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace}/projects/{project-key}/default-reviewers/{selected-user}
      name: workspaces-workspace-projects-project-key-default-reviewers-selected-user
      description: REST surface for workspaces-workspace-projects-project_key-default-reviewers-selected_user.
      operations:
      - method: DELETE
        name: atlassianremovethespecificuserfromtheprojectsdefaultreviewers
        description: Atlassian Remove the Specific User From the Project S Default Reviewers
        call: bitbucket-workspaces-users.atlassianremovethespecificuserfromtheprojectsdefaultreviewers
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: atlassianaddthespecificuserasadefaultreviewerfortheproject
        description: Atlassian Add the Specific User as a Default Reviewer for the Project
        call: bitbucket-workspaces-users.atlassianaddthespecificuserasadefaultreviewerfortheproject
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace}/projects/{project-key}/permissions-config/users
      name: workspaces-workspace-projects-project-key-permissions-config-users
      description: REST surface for workspaces-workspace-projects-project_key-permissions-config-users.
      operations:
      - method: GET
        name: atlassianlistexplicituserpermissionsforaproject
        description: Atlassian List Explicit User Permissions for a Project
        call: bitbucket-workspaces-users.atlassianlistexplicituserpermissionsforaproject
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace}/projects/{project-key}/permissions-config/users/{selected-user-id}
      name: workspaces-workspace-projects-project-key-permissions-config-users-selected-user
      description: REST surface for workspaces-workspace-projects-project_key-permissions-config-users-selected_user.
      operations:
      - method: DELETE
        name: atlassiandeleteanexplicituserpermissionforaproject
        description: Atlassian Delete an Explicit User Permission for a Project
        call: bitbucket-workspaces-users.atlassiandeleteanexplicituserpermissionforaproject
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: atlassiangetanexplicituserpermissionforaproject
        description: Atlassian Get an Explicit User Permission for a Project
        call: bitbucket-workspaces-users.atlassiangetanexplicituserpermissionforaproject
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: atlassianupdateanexplicituserpermissionforaproject
        description: Atlassian Update an Explicit User Permission for a Project
        call: bitbucket-workspaces-users.atlassianupdateanexplicituserpermissionforaproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-workspaces-users-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Workspaces API — Users. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-list-users-workspace
      description: Atlassian List Users in a Workspace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-users.atlassianlistusersinaworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-user-membership-workspace
      description: Atlassian Get User Membership for a Workspace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-users.atlassiangetusermembershipforaworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-list-user-permissions-workspace
      description: Atlassian List User Permissions in a Workspace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-users.atlassianlistuserpermissionsinaworkspace
      with:
        q: tools.q
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-remove-specific-user-project
      description: Atlassian Remove the Specific User From the Project S Default Reviewers
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-workspaces-users.atlassianremovethespecificuserfromtheprojectsdefaultreviewers
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-add-specific-user-default
      description: Atlassian Add the Specific User as a Default Reviewer for the Project
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-users.atlassianaddthespecificuserasadefaultreviewerfortheproject
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-list-explicit-user-permissions
      description: Atlassian List Explicit User Permissions for a Project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-users.atlassianlistexplicituserpermissionsforaproject
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-explicit-user-permission
      description: Atlassian Delete an Explicit User Permission for a Project
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-workspaces-users.atlassiandeleteanexplicituserpermissionforaproject
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-explicit-user-permission
      description: Atlassian Get an Explicit User Permission for a Project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-users.atlassiangetanexplicituserpermissionforaproject
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-update-explicit-user-permission
      description: Atlassian Update an Explicit User Permission for a Project
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-users.atlassianupdateanexplicituserpermissionforaproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.