Skip to content

Enable a custom subdomain

POST
/v1/workspaces/{workspaceId}/subdomain
curl --request POST \
--url https://shareout.site/v1/workspaces/example/subdomain \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "enabled": true }'

Requires workspace admin/owner.

workspaceId
required
string

Workspace ID or slug.

Media typeapplication/json
object
enabled
boolean
Examplegenerated
{
"enabled": true
}

Enabled