---
title: "Enable a custom subdomain"
method: POST
path: "/v1/workspaces/{workspaceId}/subdomain"
tags: ["Workspaces"]
---

# Enable a custom subdomain

`POST /v1/workspaces/{workspaceId}/subdomain`

Requires workspace admin/owner and the Teams plan.

## Request body

- object
  - `enabled` boolean

## Response `200`

Enabled

## Other responses

- `403` — Teams plan required

---

[API](https://skmtc.net/shareout/apis/shareout-rest-api.md) · [All operations](https://skmtc.net/shareout/apis/shareout-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shareout/shareout-rest-api/versions/804359ead65a/schema)
