Projects

✨ Bulk unassign project members

Changed on
<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card> Unassign project members in bulk. Pass selector fields via query parameters (`all`, `included`, `excluded`) and optional member filters (`search`, `role`, `tags`, `last_activity__gte`, `last_activity__lte`). For backward compatibility, a JSON body with bulk fields is still accepted.
delete/api/projects/{id}/members/bulk/

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/projects/{id}/members/bulk/
  • Auth
    API key in header Authorization

Path parameters

idinteger required

Query parameters

allboolean

Apply unassignment to all currently matched project members.

excludedstring

Comma-separated list of user IDs to keep assigned when all=true.

idsstring

Filter id by in list

includedstring

Comma-separated list of user IDs to unassign when all=false.

last_activity__gtestring

Filter by last activity (ISO 8601 formatted date). Only when all=True.

last_activity__ltestring

Filter by last activity upper bound (ISO 8601 formatted date). Only when all=True.

rolestring

Filter by role, project roles take precedence over organization roles. Only when all=True. (comma-separated values)

searchstring

Search term for filtering members by name, email, or username. Only when all=True.

tagsstring

Multiple values may be separated by commas. (comma-separated values)

tags_operatorstring

How the tags ids combine: any (at least one tag), all (every tag, the default), none (no selected tag). Ignored without tags.

user_typestring

Multiple values may be separated by commas. (comma-separated values)

Response

unassignmentsinteger

Changes