Update the visibility settings of all the tags in a category.
Before You Begin
🔗 Use the GraphQL Playground to execute the queries in this guide.
➡️ New to GraphQL? Learn how to navigate the Playground with our Playground Basics Guide.
Prerequisites
- Authentication: Use a Service Account token.
- Permissions: Your token must include admin or super admin permissions in the target organization.
- Tag Category UUID: You must include the UUID of the category. Refer to to How to get resources Ids to find the Tag Category UUID
Mutation Example
mutation {
updateTagsVisibilityByCategory(input: {
tagCategoryUuid: "uuid",
visibleToMembers: true
}) {
success
}
}
Input Fields
- tagCategoryUuid: UUID of the tag category of the tags you want to change the visibility.
- visibleToMembers: If the tags will be visible to members. Must be
true
orfalse
.
Response Fields
- success: If the operation was successful.
Response Example
{
"data": {
"updateTagsVisibilityByCategory": {
"success": true
}
}
}
This mutation allows you to efficiently set the visibility of all the tags inside a category at once.