✨ Bulk assign tags to organization 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 tags to multiple organization members in bulk.

Authentication

Authorizationstring
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="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>

Path parameters

idintegerRequired
A unique integer value identifying this organization.

Query parameters

exclude_project_iddoubleOptional

Filter exclude_project_id by exact match

exclude_workspace_iddoubleOptional

Filter exclude_workspace_id by exact match

is_deletedbooleanOptional

Filter is_deleted by exact match

rolestringOptional

Filter role by in list (comma-separated values)

tagsstringOptional

Filter tags by in list (comma-separated values)

user__last_activity__gtestringOptional

Filter user__last_activity by greater than or equal to

user__last_activity__ltestringOptional

Filter user__last_activity by less than or equal to

Request

This endpoint expects an object.
allbooleanRequired
If true, assign tags to all organization members. If false, assign tags to the provided users.
excludedlist of integersOptional
List of user IDs to exclude from the assignment.
includedlist of integersOptional
List of user IDs to include in the assignment.
overwritebooleanOptionalDefaults to false
If true, replace all existing tag assignments for each user with the provided ones. If false, only add new assignments.
tagslist of integersOptional
List of tag IDs to assign.

Response

Number of tag assignments created
assignedinteger or null

Errors