Task DeleteEnvironment(
EnvironmentDto environment,
UserSessionData deletedBy,
CancellationToken cancellationToken = default
)| UnauthorizedAccessException | Thrown if the user deletedBy did not have the correct permissions |
| InvalidOperationException | Thrown if the environment we're trying to delete is the MainEnvironment of the company. |
| ArgumentNullException | Thrown if environment or deletedBy was |