EdgeCore version: 4.3.0
Method
POST /public/domains/domainName
Used to add a domain to EdgeCore.
Parameters
| Name | Type | Description | Mandatory |
domainName |
string | Domain you want to add | Yes |
cURL example
curl --location --request POST 'http://localhost:8080/public/domains/edge' \ --header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5'
Example Response
{
"doClass": "AccountDomainDO",
"id": "s3pvsu-k636f3lq69pj",
"hidden": false,
"name": "edge",
"userCount": -1,
"adapterName": "embedded",
"deletable": true,
"kioskMode": null,
"passwordPolicy": null,
"domainSuffix": "edge",
"securityForms": [],
"disabledFormIds": [],
"sessionTimeout": {
"doClass": "SessionTimeoutDO",
"id": "s3pvsu-k636f3lq69pk",
"inherited": true,
"value": 3600
}
}
HTTP Response
| Code | Status | Description |
| 201 | Created | The request has succeeded and a new resource has been created as a result. |