workspace
PUT
https://hermeticor.com /v1/workspace/dashboard-domain Set the hostname the dashboard is served on; point its CNAME at cnameTarget, then verify
Request body
application/json
hoststringrequired{
"host": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/workspace/dashboard-domain" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"host":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"host": "string",
"status": "pending",
"cnameTarget": "string",
"verifiedAt": "2024-01-01T00:00:00Z",
"lastCheckedAt": "2024-01-01T00:00:00Z",
"lastError": "string"
}Schema
hoststringrequiredstatusstringrequiredcnameTargetstringrequiredverifiedAtstringrequiredlastCheckedAtstringrequiredlastErrorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectDELETE
https://hermeticor.com /v1/workspace/dashboard-domain Code samples
cURL
curl -X DELETE "https://hermeticor.com/v1/workspace/dashboard-domain" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPOST
https://hermeticor.com /v1/workspace/dashboard-domain/verify Check the CNAME now
Code samples
cURL
curl -X POST "https://hermeticor.com/v1/workspace/dashboard-domain/verify" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/public/brand Name, logo and colours for a verified dashboard host (null otherwise)
Parameters
hoststringqueryrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/public/brand?host=<host>"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"workspaceId": "string",
"productName": "string",
"logoUrl": "string",
"primaryColor": "string",
"accentColor": "string",
"loginMessage": "string"
}Schema
workspaceIdstringrequiredproductNamestringrequiredlogoUrlstringrequiredprimaryColorstringrequiredaccentColorstringrequiredloginMessagestringUpdated