> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scanova.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 列出您的共享用户角色可见的标签

> GET /tag/shared/

在 **Management API** 主机（`api.scanova.io`）上列出某共享用户角色已获得可见权限的标签，使用您的原始 Management API 密钥进行身份验证。

```
GET https://api.scanova.io/tag/shared/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
```

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.scanova.io/tag/shared/" \
    -H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  [
    { "id": 12, "name": "vip" },
    { "id": 14, "name": "east-region" }
  ]
  ```
</ResponseExample>

不分页——返回一个普通数组。

## 仅对共享用户的密钥有意义

此端点仅在 Management API 密钥是代表已启用[基于标签的权限限定](/zh/team/roles-and-permissions)的共享用户创建时才有意义。属于账户所有者的密钥（本身并不受标签限定）会返回 `400`，并附带 `{"error": ["Request user is not a shared user"]}`。

## 相关内容

* [列出标签](/zh/api-reference/management-api/tags/manage)——面向账户所有者、无限定范围的等效端点。
* [列出/取消关联共享用户所附加的标签](/zh/api-reference/management-api/tags/attached-list)——另一种视角：该团队成员打了哪些标签，而非其可见哪些标签。
* [角色与权限](/zh/team/roles-and-permissions)——基于标签的权限限定在仪表盘一侧如何运作。
* [Management API 概览](/zh/api-reference/management-api/overview)——适用于此端点的身份验证方案和配额规则。


## OpenAPI

````yaml api-reference/openapi/management-api.json GET /tag/shared/
openapi: 3.1.0
info:
  title: Scanova Management API (v2)
  description: >-
    The complete Scanova Management API — every endpoint available at
    api.scanova.io (QR codes, folders, tags, leads, forms, analytics, plans,
    shared users & roles), plus the token-creation and usage-stats endpoints
    used to authenticate against it. Every path and request/response shape below
    was verified live against a real API key and the actual running backend
    (Phase 7, 2026-08-16) — not guessed from reading urls.py alone.
  version: 2.0.0
servers:
  - url: https://api.scanova.io
    description: Management API — QR/folder/tag/lead/form/analytics/plans endpoints
security:
  - apiKeyAuth: []
paths:
  /tag/shared/:
    get:
      summary: List tags visible to your shared-user role
      description: >-
        Lists the tags a shared user's role has been granted visibility into
        (via tag-based permission scoping). Only meaningful for a Management API
        key created on behalf of a shared user — a key belonging to the account
        owner returns 400, since the owner isn't scoped by tag permissions in
        the first place.
      operationId: listManagedSharedTags
      responses:
        '200':
          description: Tags visible to this shared user. Not paginated.
          content:
            application/json:
              example:
                - id: 12
                  name: vip
                - id: 14
                  name: east-region
        '400':
          description: The requesting key does not belong to a shared user.
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Send your Management API key as the raw value of the Authorization
        header — no "Bearer " or "Token " prefix, and no other characters.
        Example: `Authorization: 401f7ac837da42b97f613d789819ff93537bee6a`. A
        header containing more than one space-separated part is rejected
        outright. Requests also require the request's Host header to be the
        management API host (e.g. api.scanova.io) — the same key sent to the
        regular API host will not authenticate.

````