cURL
curl --request PATCH \ --url https://api.cme.sh/customDomain \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspaceId": "<string>", "customDomainId": "<string>", "httpToHttps": false, "deleteDomain": false } '
{ "status": true, "data": "<string>" }
Update settings or delete a domain for the authenticated workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Id of the Workspace
Id of the domain
Update redirection of HTTP to HTTPS for short URLs if set to true
true
Delete domain if set to true
Successful response