Label Studio · Capability
API Reference — subpackage_workspaces.subpackage_workspaces/members.subpackage_workspaces/members/bulk
API Reference — subpackage_workspaces.subpackage_workspaces/members.subpackage_workspaces/members/bulk. 2 operations. Lead operation: ✨ Bulk assign workspace members. Self-contained Naftiko capability covering one Label Studio business surface.
Run with Naftiko
Label Studiosubpackage_workspaces.subpackage_workspaces/members.subpackage_workspaces/members/bulk
What You Can Do
POST
Post
— ✨ Bulk assign workspace members
/v1/api/workspaces/{id}/memberships/bulk
DELETE
Delete
— ✨ Bulk unassign workspace members
/v1/api/workspaces/{id}/memberships/bulk
MCP Tools
bulk-assign-workspace-members
✨ Bulk assign workspace members
bulk-unassign-workspace-members
✨ Bulk unassign workspace members
idempotent
Capability Spec
label-studio-subpackage-workspaces-subpackage-workspaces-members-subpackage-workspaces-members-bulk.yaml
Raw ↑
naftiko: 1.0.0-alpha2
info:
label: API Reference — subpackage_workspaces.subpackage_workspaces/members.subpackage_workspaces/members/bulk
description: 'API Reference — subpackage_workspaces.subpackage_workspaces/members.subpackage_workspaces/members/bulk. 2
operations. Lead operation: ✨ Bulk assign workspace members. Self-contained Naftiko capability covering one Label Studio
business surface.'
tags:
- Label Studio
- subpackage_workspaces.subpackage_workspaces/members.subpackage_workspaces/members/bulk
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
LABEL_STUDIO_API_KEY: LABEL_STUDIO_API_KEY
capability:
consumes:
- type: http
namespace: label-studio-subpackage-workspaces-subpackage-workspaces-members-subpackage-workspaces-members-bulk
baseUri: http://localhost:8000
description: API Reference — subpackage_workspaces.subpackage_workspaces/members.subpackage_workspaces/members/bulk business
capability. Self-contained, no shared references.
resources:
- name: api-workspaces-id-memberships-bulk
path: /api/workspaces/{id}/memberships/bulk/
operations:
- name: post
method: POST
description: ✨ Bulk assign workspace members
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
required: true
- name: Authorization
in: header
type: string
description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
Account page in Label Studio. Example: <br><pre><code class='
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: delete
method: DELETE
description: ✨ Bulk unassign workspace members
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
required: true
- name: all
in: query
type: boolean
description: Apply unassignment to all currently matched workspace members.
- name: excluded
in: query
type: string
description: Comma-separated list of user IDs to keep assigned when `all=true`.
- name: ids
in: query
type: string
description: Comma-separated list of user IDs to filter matched members.
- name: included
in: query
type: string
description: Comma-separated list of user IDs to unassign when `all=false`.
- name: search
in: query
type: string
description: Search term for filtering matched members by name or email.
- name: Authorization
in: header
type: string
description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
Account page in Label Studio. Example: <br><pre><code class='
required: true
authentication:
type: apikey
key: Authorization
value: '{{env.LABEL_STUDIO_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: label-studio-subpackage-workspaces-subpackage-workspaces-members-subpackage-workspaces-members-bulk-rest
port: 8080
description: REST adapter for API Reference — subpackage_workspaces.subpackage_workspaces/members.subpackage_workspaces/members/bulk.
One Spectral-compliant resource per consumed operation, prefixed with /v1.
resources:
- path: /v1/api/workspaces/{id}/memberships/bulk
name: api-workspaces-id-memberships-bulk
description: REST surface for api-workspaces-id-memberships-bulk.
operations:
- method: POST
name: post
description: ✨ Bulk assign workspace members
call: label-studio-subpackage-workspaces-subpackage-workspaces-members-subpackage-workspaces-members-bulk.post
with:
id: rest.id
Authorization: rest.Authorization
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: delete
description: ✨ Bulk unassign workspace members
call: label-studio-subpackage-workspaces-subpackage-workspaces-members-subpackage-workspaces-members-bulk.delete
with:
id: rest.id
all: rest.all
excluded: rest.excluded
ids: rest.ids
included: rest.included
search: rest.search
Authorization: rest.Authorization
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: label-studio-subpackage-workspaces-subpackage-workspaces-members-subpackage-workspaces-members-bulk-mcp
port: 9090
transport: http
description: MCP adapter for API Reference — subpackage_workspaces.subpackage_workspaces/members.subpackage_workspaces/members/bulk.
One tool per consumed operation, routed inline through this capability's consumes block.
tools:
- name: bulk-assign-workspace-members
description: ✨ Bulk assign workspace members
hints:
readOnly: false
destructive: false
idempotent: false
call: label-studio-subpackage-workspaces-subpackage-workspaces-members-subpackage-workspaces-members-bulk.post
with:
id: tools.id
Authorization: tools.Authorization
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: bulk-unassign-workspace-members
description: ✨ Bulk unassign workspace members
hints:
readOnly: false
destructive: true
idempotent: true
call: label-studio-subpackage-workspaces-subpackage-workspaces-members-subpackage-workspaces-members-bulk.delete
with:
id: tools.id
all: tools.all
excluded: tools.excluded
ids: tools.ids
included: tools.included
search: tools.search
Authorization: tools.Authorization
outputParameters:
- type: object
mapping: $.