> For the complete documentation index, see [llms.txt](https://docs.guardianservice.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/schemas/tag-schema/tag-schema-apis/publishing-schema.md).

# Publishing Schema

## Publishes the schema

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

Publishes the schema with the provided (internal) schema ID onto IPFS, sends a message featuring IPFS CID into the corresponding Hedera topic. 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   |

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