{% hint style="info" %} You can publish a space using the update endpoint documented here. {% endhint %}
{% swagger src="../../../.gitbook/assets/openapi.yml" path="/spaces/{spaceId}/publishing/auth" method="get" %} openapi.yml {% endswagger %}
{% swagger src="https://api.gitbook.com/openapi.yaml" path="/spaces/{spaceId}/publishing/auth" method="post" %} https://api.gitbook.com/openapi.yaml {% endswagger %}