Projects

✨ Bulk assign project members

<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/

Path parameters

idinteger required

Query 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 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)

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

Changed in 4 of the 97 revisions of this API.663

  • d61bc77f80bc33See the full diff
    • added AssignableOrganizationRoleEnum to the roles/items/role request property allOf list (media type: application/json)

      request-property-all-of-added

    • added AssignableOrganizationRoleEnum to the roles/items/role request property allOf list (media type: application/x-www-form-urlencoded)

      request-property-all-of-added

    • added AssignableOrganizationRoleEnum to the roles/items/role request property allOf list (media type: multipart/form-data)

      request-property-all-of-added

    • removed OrganizationRoleEnum from the roles/items/role request property allOf list (media type: application/json)

      request-property-all-of-removed

    • removed OrganizationRoleEnum from the roles/items/role request property allOf list (media type: application/x-www-form-urlencoded)

      request-property-all-of-removed

    • removed OrganizationRoleEnum from the roles/items/role request property allOf list (media type: multipart/form-data)

      request-property-all-of-removed

    • the response property assignments became required for the status 200

      response-property-became-required

    • added the required property skipped_user_ids to the response with the 200 status

      response-required-property-added

    • added OrganizationRoleEnum to the roles/items/role request property allOf list (media type: application/json)

      request-property-all-of-added

    • added OrganizationRoleEnum to the roles/items/role request property allOf list (media type: application/x-www-form-urlencoded)

      request-property-all-of-added

    • added OrganizationRoleEnum to the roles/items/role request property allOf list (media type: multipart/form-data)

      request-property-all-of-added

    • removed Role9e7Enum from the roles/items/role request property allOf list (media type: application/json)

      request-property-all-of-removed

    • removed Role9e7Enum from the roles/items/role request property allOf list (media type: application/x-www-form-urlencoded)

      request-property-all-of-removed

    • removed Role9e7Enum from the roles/items/role request property allOf list (media type: multipart/form-data)

      request-property-all-of-removed

    This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional query request parameter user_type

      new-optional-request-parameter

Of the 97 revisions, 1 has no diff computed.