# Updating Schema Tag

## Updates the schema

<mark style="color:orange;">`PUT`</mark> `/tags/schemas/{schemaId}`

Updates the schema with the provided schema ID. Only users with the Standard Registry role are allowed to make the request.

#### Path Parameters

| Name                                       | Type   | Description |
| ------------------------------------------ | ------ | ----------- |
| schemaId<mark style="color:red;">\*</mark> | String | Schema ID   |

#### Request Body

| Name                               | Type   | Description                          |
| ---------------------------------- | ------ | ------------------------------------ |
| <mark style="color:red;">\*</mark> | String | Object that contains a valid schema. |

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

```
content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/Schema"
```

{% endtab %}

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

{% 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 %}
