Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Update settings or delete a domain for the authenticated workspace.

workspaceId
string
required

Id of the Workspace

customDomainId
string
required

Id of the domain

httpToHttps
boolean
default:false

Update redirection of HTTP to HTTPS for short URLs if set to true

deleteDomain
boolean
default:false

Delete domain if set to true

Response

Successful response

status
boolean
data
string