class FreeIpaV1Controller implements FreeIpaV1Endpoint {

    @Override
    @CheckPermissionByResourceObject
    public void detachChildEnvironment(@ResourceObject @Valid DetachChildEnvironmentRequest request) {
        String accountId = crnService.getCurrentAccountId();
        childEnvironmentService.detachChildEnvironment(request, accountId);
    }

}