public Task<EnvironmentDto> CreateEnvironment(
EnvironmentDto environment,
UserSessionData createdBy,
CancellationToken cancellationToken = default
)| UnauthorizedAccessException | Thrown if the user createdBy did not have the correct permissions |
| ArgumentNullException | Thrown if environment or createdBy was |
| ResourceInvalidStateException | Thrown if environment is in an invalid state. |