Create Portal
POST/api/portals/createportal
Tier: Internal — subject to change without notice.
Creates a portal, provisioning its underlying Agent identity.
Creating a portal consumes one Portal agent licence.
Request
Responses
- 200
- 400
- 401
- 403
Returns the created portal, re-fetched after save. See PortalDtos.PortalDetailDto. Initial Status is Enums.PortalOperationStatus's Offline member.
Validation failed — HardwareKey is required, must parse as a GUID, and must be unique per tenant; Name is required; CacheFlushAmount/CacheFlushInterval must both be greater than zero; or the organisation has no available Portal agent licence (NoAvailableAgentLicenses).
Caller is not authenticated.
Caller does not have Create permission on the Portal module.