# Searching Tag

## Search tags

<mark style="color:green;">`POST`</mark> `/tags/search`

Search Tags

#### Request Body

| Name                                      | Type   | Description                                                |
| ----------------------------------------- | ------ | ---------------------------------------------------------- |
| entity<mark style="color:red;">\*</mark>  | String | \[Schema, Policy, Token, Module, Contract, PolicyDocument] |
| target<mark style="color:red;">\*</mark>  | String | targetId1                                                  |
| entity<mark style="color:red;">\*</mark>  | String | \[Schema, Policy, Token, Module, Contract, PolicyDocument] |
| targets<mark style="color:red;">\*</mark> | String | \[targetId1, targetId2]                                    |

{% tabs %}
{% tab title="200: OK Successful Operation" %}

```
content:
            application/json:
              schema:
                description: a (targetId, Tags) map. `targetId1` is an example key
                properties:
                  targetId1:
                    $ref: "#/components/schemas/TagMap"
                additionalProperties:
                  $ref: "#/components/schemas/TagMap"
```

{% endtab %}

{% tab title="401: Unauthorized Unaurhorized" %}

{% endtab %}

{% tab title="403: Forbidden Forbidden" %}

{% endtab %}

{% tab title="500: Internal Server Error Internal Server Error" %}

```
content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
```

{% endtab %}
{% endtabs %}
