Projects

✨ Bulk assign 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> Assign project members in bulk.
post/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

filtersstring

Versioned JSON member-filter payload, the same one the organization members list accepts. Only when all=True. When advanced member filtering is enabled, do not also supply role, user_type, tags, or last-activity legacy filter parameters.

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 organization role. Only when all=True. (comma-separated values)

searchstring

Search members by first name, last name, email, or an enabled optional member-list column. 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__last_activity__gtestring

Filter user__last_activity by greater than or equal to

user__last_activity__ltestring

Filter user__last_activity by less than or equal to

user_typestring

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

Request body

allboolean required

Apply to all project members

excludedinteger[]

Excluded user IDs

includedinteger[]

Included user IDs

Response

assignmentsinteger required
skipped_user_idsinteger[] required

Changes

    • info

      added the new optional query request parameter filters

    • info

      added the new optional query request parameter user__last_activity__gte

    • info

      added the new optional query request parameter user__last_activity__lte

    • info

      added the new optional query request parameter tags_operator